It would be nice if we could have an arrow point to a subgraph
I am working on mapping some state charts and found that i could get close to mapping it completely using the flowcharts but the only missing thing was the ability to point to a subgraph.
As a workaround i am making nodes in the subgraphs called initial that all other places point to when they would normally point to the graph.
Agreed, was just going to open an issue for this.
+1
It is not supported in upstream project: https://github.com/dagrejs/dagre-d3/issues/152
+1
+1
+1 as well! Would be very useful
+1
+1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in it, and it is still relevant, you can comment or remove the label to revive it.
If you are still interested in it, and it is still relevant, you can comment or remove the label to revive it.
I am, it is.
I am also still interested in this and believe it is still relevant.
Note that right now the project has a lot more requests piled up than it can handle.
We would be happy to accept new collaborators!
This is quite a big task, believe it or not, as dagre-d3 which is used for rendering does not support this. I am currently working State Diagrams which will support this feature (for state diagrams). There are several other features also beeing limited by dagre-d3 like multi directional arrows and more arrow types.
This is another incentive to move away from dagre-d3 and render in house instead.
I don't see this happening in the short term though.
+1 would make mermaid-js even more useful
There has been some progress here. There is a new rendering engine capable of doing this. It is still in beta but possible to use as of 8.5.1
https://mermaid-js.github.io/mermaid/#/flowchart?id=beta-flowcharts
Eventually both graph/flowchart will render the flowchart using this new way of rendering.
Hi,
what about arrows pointing _from_ a node _to_ a subgraph? It looks like that isn't supported right now.
Most helpful comment
There has been some progress here. There is a new rendering engine capable of doing this. It is still in beta but possible to use as of 8.5.1
https://mermaid-js.github.io/mermaid/#/flowchart?id=beta-flowcharts
Eventually both graph/flowchart will render the flowchart using this new way of rendering.