@cbinsights/react-d3-graph
Version:
React component to build interactive and configurable graphs with d3 effortlessly
9 lines (8 loc) • 437 B
JavaScript
/*eslint max-len: ["error", 200]*/
export default {
GRAPH_NO_ID_PROP: 'id prop not defined! id property is mandatory and it should be unique.',
INVALID_LINKS:
'you provided a invalid links data structure. Links source and target attributes must point to an existent node',
INSUFFICIENT_DATA:
'you have not provided enough data for react-d3-graph to render something. You need to provide at least one node'
};