Arbitrary information
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
Great project, I'm importing data through a .CSV, so my code looks a bit like this
```
let src = newData[0]; //source
let dst = newData[1]; //destination
//link
g.addLink(src, dst); // now graph 'g' has two new nodes: 'src' & 'dst'
```
Is there any way to add arbitrary data, for example if I had another parameter "newData[2]" that represented the information about the node, or the edge relationship, and add that to any node/link so that information is visible on-screen? Perhaps somewhere like [here ](http://imgur.com/PHmXbQJ)?
Also, just wondering if there are any future plans to add a feature to add custom node or link colors, in my case I need to base them off a third data point (if that's possible in this project) that describes the relationship of source/destination.
Very sorry to bother you,
Thanks for any help you are willing to offer.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the g.addLink call in the issue example and inspect how nodes and links are rendered in the visualization. Define how newData[2] should be attached and displayed, and how it should drive node or link colors; done means arbitrary information is visible and colors reflect it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100