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
You should be able to get node attributes using the DOM after inserting the generated SVG into the document. To make this more convenient, add "id" attributes to the nodes you create.
Given this graph:
digraphg {
a -> b;
a[id="a"];
}
After inserting the SVG into the document, you can say something like this to return the stroke color for the ellipse shape in the node "a":
Hi.
I want to get node attributes: pos, color,.... when using Viz.js render SVG?
Can you please help me?
Thanks in advance for your attention!
The text was updated successfully, but these errors were encountered: