mstefaniuk / graphviz.it

Graphviz fiddling website
http://graphviz.it
GNU Lesser General Public License v3.0
111 stars 12 forks source link

Support for 'id' attribute #19

Closed kenseehart closed 4 years ago

kenseehart commented 7 years ago

foo_node [id=foo_node_id]

should render as

<g class="node" id="foo_node_id"> ... <\/g>

Motivation: This opens up unlimited possibilities for real-time DOM customization in js. The 'id' attribute is in the dot standard: http://www.graphviz.org/doc/info/attrs.html#d:id

mstefaniuk commented 7 years ago

@kenseehart Please check if new version of graph-viz-d3-js rendering component is working as you expected.

kenseehart commented 4 years ago

Apologies for the rather belated reply.... Thank you, works great!