Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mermaid-js
mermaid
Repository navigation
Code
Issues
1.5k
(1.5k)
Pull requests
413
(413)
Discussions
Actions
Projects
Wiki
Security and quality
14
(14)
Insights
More
items
fix(elk): better default layout config
- #8152
#8152
Merged
ashishjain0512
merged 17 commits into
develop
mermaid-js/mermaid:develop
from
feature/8150_elk-layout-config
mermaid-js/mermaid:feature/8150_elk-layout-config
Copy head branch name to clipboard
Aug 28, 2026
Conversation
Commits
17
(17)
Checks
Files changed
Merged
fix(elk): better default layout config
#8152
ashishjain0512
merged 17 commits into
develop
mermaid-js/mermaid:develop
from
feature/8150_elk-layout-config
mermaid-js/mermaid:feature/8150_elk-layout-config
Copy head branch name to clipboard
Commits
Commits on Aug 27, 2026
fix(rendering): drop the half-pixel bias in intersectLine
Show description for 7ee4c3f
knsv
committed
7ee4c3f
View commit details
Copy full SHA for 7ee4c3f
Browse repository at this point
feat(elk): name the node-placement combinations as elk.preset
Show description for d4bea0d
knsv
committed
d4bea0d
View commit details
Copy full SHA for d4bea0d
Browse repository at this point
feat(elk): draw line hops where edges cross
Show description for 1246a55
knsv
committed
1246a55
View commit details
Copy full SHA for 1246a55
Browse repository at this point
fix(elk): attach non-rect endpoints on the outline, and straighten terminal jogs
Show description for 1befa91
knsv
committed
1befa91
View commit details
Copy full SHA for 1befa91
Browse repository at this point
fix(elk): buy subgraph edge spacing separately from the base value
Show description for 3b09225
knsv
committed
3b09225
View commit details
Copy full SHA for 3b09225
Browse repository at this point
[autofix.ci] apply automated fixes
autofix-ci[bot]
authored
a24488f
View commit details
Copy full SHA for a24488f
Browse repository at this point
fix(elk): halve the edge-approach spacing, which was charged twice
Show description for 6f9e824
knsv
committed
6f9e824
View commit details
Copy full SHA for 6f9e824
Browse repository at this point
fix(elk): draw subgraph frames an even distance from their contents
Show description for 785ca77
knsv
committed
785ca77
View commit details
Copy full SHA for 785ca77
Browse repository at this point
fix(elk): address review on #8152
Show description for 5e8f822
knsv
committed
5e8f822
View commit details
Copy full SHA for 5e8f822
Browse repository at this point
fix(elk): keep a subgraph frame around lanes that belong to it
Show description for 68a7015
knsv
committed
68a7015
View commit details
Copy full SHA for 68a7015
Browse repository at this point
fix(elk): put the edge-approach spacing back to 30
Show description for 5099cbe
knsv
committed
5099cbe
View commit details
Copy full SHA for 5099cbe
Browse repository at this point
fix(elk): address CodeRabbit review on #8152
Show description for aa72e1c
knsv
committed
aa72e1c
View commit details
Copy full SHA for aa72e1c
Browse repository at this point
fix(elk): paint the clamped frame width, not the wider title
Show description for fef9e3e
knsv
committed
fef9e3e
View commit details
Copy full SHA for fef9e3e
Browse repository at this point
Merge branch 'develop' into feature/8150_elk-layout-config
knsv
authored
294c3c9
View commit details
Copy full SHA for 294c3c9
Browse repository at this point
refactor(line-hops): drop the redundant second path map
Show description for 7f911e2
knsv
committed
7f911e2
View commit details
Copy full SHA for 7f911e2
Browse repository at this point
Commits on Aug 28, 2026
fix(elk): keep subgraph ports off the frame's corners, and default to depth-first
Show description for 1348b4f
knsv
committed
1348b4f
View commit details
Copy full SHA for 1348b4f
Browse repository at this point
[autofix.ci] apply automated fixes
autofix-ci[bot]
authored
cd8b630
View commit details
Copy full SHA for cd8b630
Browse repository at this point
You can’t perform that action at this time.