You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have attached both the DOT and XML files for your reference. When I convert the XML file, the resulting layout is not rendering correctly, and the subgraph appears to be missing.
However, when I open the DOT file in Graphviz, the layout displays perfectly as expected. This discrepancy seems to occur specifically after the conversion process. Could you please assist in resolving this issue?
Hi @khushalcodiste thanks for your report.
Unfortunately g2d currently has difficulty handling nested subgraphs, especially those generated from another GUI tool.
I appreciate this example since it will help with future improvements.
But for now there aren't any quick ways to fix this case, sorry.
With a few edits, I was able to display the subgraphs, but their positions are significantly offset from the intended locations.
Here is my edited code.
Output is something like:
I have attached both the DOT and XML files for your reference. When I convert the XML file, the resulting layout is not rendering correctly, and the subgraph appears to be missing.
However, when I open the DOT file in Graphviz, the layout displays perfectly as expected. This discrepancy seems to occur specifically after the conversion process. Could you please assist in resolving this issue?
Diagrams.zip
This is my actual result
And this what i'm getting:
The text was updated successfully, but these errors were encountered: