react-d3-tree
react-d3-tree copied to clipboard
Allow passing attribute fields to generateHierarchy
treeUtils.generateHierarchy
doesn't take attribute fields, which means that if you are trying to load a flat array then you can't also load attributes
I'm using react-d3-tree 1.13.0
+1
same Problem
{ parent: 1, child: 2, attributes: { "FlatJSON Attribute A": "xyz", "FlatJSON Attribute B": "pqr" } }