I'm using Dagre to layout my graph and need to send additional properties through to set class/style later in cytoscape.
var graph = new dagre.graphlib.Graph({...});
graph.setEdge(source, target, {
val1: 'foo'
}, e.value);
How to access the additional property val1
later when iterating through edges using graph.edges()
?