mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

Multiple graphs

Open bartlomiej-dawidow opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. We use Mermaid to generate three graphs from a spreadsheet but you always want to see all three graphs at the same time.

Describe the solution you'd like Allow this syntax:

graph A
...
graph B
...
graph C

Where the three graphs should each have their own scope, i.e. they should not share identifiers. The resulting image should consist of the three graphs in the configured layout, for example vertical, horizontal, centered etc.

Describe alternatives you've considered Merging the graphs in our code, but that complicates a simple use case and requires the client code to do image processing.

The issue has been previously reported here: https://github.com/mermaid-js/mermaid/issues/586

bartlomiej-dawidow avatar Jun 30 '20 20:06 bartlomiej-dawidow

Look at possibility of adding something like endgraph

jgreywolf avatar Mar 08 '23 17:03 jgreywolf