-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flowchart Line/Path Kinks #522
Comments
Could you please reproduce the issue in https://mermaidjs.github.io/mermaid-live-editor/ and post back a link here? The layout is powered by https://github.com/dagrejs/dagre-d3 and it could be an upstream issue too. |
No worries, I've anonymised the original data; thankfully the issue still shows: Example There are a few examples of the issue; one is the link between Thank-you for picking this up / looking into it. |
@JohnLBevan Last night I did a change which might mitigate the issue: #580 (comment) The Online Mermaid Editor doesn't support changing of mermaid config (at the moment) so I am unable to post a link. Here is a screenshot: |
Nice one @tylerlong ; agree that this does look better. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
…yarn/develop/eslint-plugin-mocha-10.0.1 chore(deps-dev): bump eslint-plugin-mocha from 9.0.0 to 10.0.1
Request
As you can see from the attached screenshot, one of the paths goes off to the right for no reason, then swings back on itself to the left to connect to the node beneath it.
Is there any way to improve the intelligence of the path layout, or if that's too complex, to simply force all paths to be straight-lines?
Thanks & Background Info
Thanks for producing such an amazing & simple to use solution; really like it & very impressed.
I've used it to automate my documentation, by having discovery scripts build a detailed, low level CMDB, then using the dependency data from that to generate graphs in Mermaid.
I added the following CSS to allow me to hover over a path & have it display more clearly; i.e. so I can see at a glance which nodes are connected. Hopefully that makes the issue reported above stand out more:
The text was updated successfully, but these errors were encountered: