emicklei / dot

Go package for writing descriptions using the Graphviz DOT and Mermaid language
MIT License
282 stars 19 forks source link

Support subgraphs in MermaidGraph #39

Closed diwakergupta closed 3 months ago

diwakergupta commented 4 months ago

The MermaidGraph implementation currently iterates over nodes, but does not factor-in subgraphs, unlike the dot implementation

Would be awesome if subgraphs were supported in MermaidGraph as well!

emicklei commented 4 months ago

try out https://github.com/emicklei/dot/commit/95cd1ec05142389c72ea2522e6064426eeee90d2

diwakergupta commented 4 months ago

Seems to work in my basic testing, thanks for the fast turnaround!