crubier/react-graph-vis

Is there a way to use another key as 'id' or 'label' for nodes and edges

JC2615 opened this issue · 2 comments

For example if I have an object: {userID: 1, name: "John"} instead of {id: 1, label: "John"} is there a way I can use my keys directly?

No, this is a constraint coming from the underlying vis.js library

I see. Thank you