ndtv-d3 icon indicating copy to clipboard operation
ndtv-d3 copied to clipboard

discrepancy in timeIndex data

Open michalgm opened this issue 10 years ago • 1 comments

On windsurfers network, timeIndex[0]['edge.col'] is set to a single-item array, with the value of rgba(169,169,169,1). But since i expect all edge/node properties to be arrays of all active nodes/edges, i am only applying this property to edge id 1. Is this what is intended? I could detect for single-item arrays and apply those values to all edges/nodes - goofy, but I think it would work, since the only overlap with normal behavior is when there's only one item anyway. Ideally, properties that should be applied to all active items should be either in a separate data object, have a decorator on the key (i.e. global.edge.col or something) or a single value as opposed to an array (although that would be tricky due to some values being arrays - I'm already hitting that issue with the graph-level properties).

michalgm avatar Oct 18 '14 09:10 michalgm

this is the bug with the edge attribute replication I was mentioning yesterday. I believe I've fixed it. re-rendering example objects and will commit

skyebend avatar Oct 18 '14 19:10 skyebend