strathausen / dracula

JavaScript layout and representation of connected graphs.
https://www.graphdracula.net
MIT License
836 stars 132 forks source link

Node labels that aren't IDs #34

Closed keeganwitt closed 7 years ago

keeganwitt commented 9 years ago

I had an idea for an enhancement. It'd be cool if we could specify a label for nodes that is different than the ID used to connect nodes with edges. For backwards compatibility, if the node label isn't specified, the label could default to the ID.

strathausen commented 8 years ago

Working on that...

strathausen commented 7 years ago

Should actually work now :-) forgot to look at the issue... let me know if the latest version does what you need!