This is the basic structure to do something with node and edge
jit.Graph.Util.eachNode(rgraph.graph, function(flt) {
// do something with your node label
// see documentation setDataset or setData
$jit.Graph.Util.eachAdjacency(flt, function(lbl) {
// do something with edgeLabels
setLabelDate or setLabelDataSet
});
});
after that you have to refresh
like
rgraph.refresh()
good luck ;)
Op zaterdag 18 februari 2017 06:43:45 UTC+1 schreef Uday Shankar: