networkcube / vistorian

Interactive open source visualization platform for multivariate dynamic networks.
https://networkcube.github.io/vistorian
93 stars 11 forks source link

Implement user-properties on nodes and links #91

Closed benjbach closed 8 years ago

benjbach commented 8 years ago

User-properties are user-defined properties on the node or link schema. Networkcube finds them and automatically adds them to the nodeArrays and linkArrays in dynamicnetwork.ts.

A property with the name myprop can be queried as:

var data = networkcube.getDynamicNetwork();
var value = data.link(0).attr('myProp')