Backwards arrow direction
See original GitHub issueIs your feature request related to a problem? Please describe. Sometimes it is useful to have a single arrow pointing in the opposite direction (and not the whole graph).
Describe the solution you’d like
Simply the option to specify the backwards arrow (like <--
).
Describe alternatives you’ve considered You can try to do something similar using subgraphs, but it is very cumbersome (and not really comparable).
Additional context
In Graphviz they do using the dir
attribute ([dir=back]
).
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Arrow Pointing Backwards Vector Images (over 4,200)
The best selection of Royalty Free Arrow Pointing Backwards Vector Art, Graphics and Stock Illustrations. Download 4200+ Royalty Free Arrow Pointing ...
Read more >Arrow, backward, direction icon - Iconfinder
Download this arrow, backward, direction, down, guidance, guide, movement icon in solid style from the Tourism, hotels & hospitality category.
Read more >↓ Arrow Symbols: Left, Right, Up and Down Arrow
Lists of arrow symbols, arrow signs, arrow emojis down arrow, up arrow, right and left arrows and all kind of arrows with their...
Read more >Changing an Arrow's Direction (Reversing Paths)
That's right, paths have “direction” — from start to end — and InDesign lets you reverse it by choosing Object > Path >...
Read more >Arrow cursor. Arrows forward backward, direction symbols ...
Arrow cursor. Arrows forward backward, direction symbols group. Illustration about backward, line, cursor, forward, curve, pictogram, round, sign, shape, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
An example with flowchart
mermaid.live link
Proposed render:
The point is exactly that you cannot achieve that.
Assume you have this graph:
And now you want to add a new node
C
and an edge fromB
toC
with the arrow pointing toB
.You could do something like this:
But this puts
C
at “the same level” ofA
, but here you are interested in having an edge fromB
toC
just with the arrow in the opposite direction. Something like this: (which obviously does not compile at the moment)Just to show something, it should be like this one:
but with an arrow on the
B -- C
edge pointing towardsB
(exactly how @ajh0912 has shown in https://github.com/mermaid-js/mermaid/issues/3208#issuecomment-1267495095).@mitcom is this small example clear enough?