question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flowchart Line/Path Kinks

See original GitHub issue

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?

cmdb

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:

path:hover {
	stroke-width:4px;
}
/* more complex option to color edger red too:
.edgePath:hover * {
	stroke:red;
	stroke-width:4px;
	fill: red;
}
*/

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
tylerlongcommented, Mar 18, 2018

@JohnLBevan Last night I did a change which might mitigate the issue: https://github.com/knsv/mermaid/issues/580#issuecomment-373929046

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:

image

1reaction
tylerlongcommented, Mar 17, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

shortest path algorithm: Topics by Science.gov
The flowchart of the program as well as the examination of its numerical ... Localization Algorithm with On-line Path Loss Estimation and Node...
Read more >
TRANSMISSION PLAN - California ISO
Figure 3.4-2 shows a flowchart of the CPUC 2021-2022 transmission planning process busbar mapping process. Portfolio non-battery and battery ...
Read more >
Work with lines in Lucidchart
Lines are essential to diagramming, which is why Lucidchart strives to make working with them as simple and intuitive as possible. Read this...
Read more >
Flowchart of the proposed communication kink model
Download scientific diagram | Flowchart of the proposed communication kink model from publication: Communication Link Model Using Trellis Coded Modulation ...
Read more >
The feasibility of renewable natural gas as a large-scale, low ...
Supply curve method flow chart. 18. Figure 11. Estimates of dairy digester capital cost. 20. Figure 12. Economies of scale for dairy digesters....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found