magjac / d3-graphviz

Graphviz DOT rendering and animated transitions using D3
BSD 3-Clause "New" or "Revised" License
1.68k stars 103 forks source link

How to change nodes on the base of the existing dot file? #221

Closed vzcrab closed 2 years ago

vzcrab commented 2 years ago

Maybe change node text or add text to the node. Or go further to add a node to node.

So I test to under code after rendering complete, but nothing was selected.

const s = d3.select('#graph').selectWithoutDataPropagation("svg").selectWithoutDataPropagation("g");

And whether I can only change the dot source file?

magjac commented 2 years ago

Sorry, I don't understand what you're asking for.

Please provide a complete example if you want me to take a deeper look at a particular problem.

vzcrab commented 2 years ago

@magjac so sorry for my English. I'm too confused.

I will try again. And I'll sort out my problems.

I'm sorry to bother you.