LeGoffLoic / Nodz

Nodz : Visualize your data - Free nodes based graph generator.
MIT License
421 stars 108 forks source link

Fix split for node/attributes in loadGraph() #38

Open AlexLaur opened 4 years ago

AlexLaur commented 4 years ago

If we have a node in the JSON like "node.color.R", there is an error. I added a rpartition instead of a split in order to have the last element for the attribute and the first element for the node : "node.color" for the name dans "R" for the attribute.