powered by
setEdgeLabelRule(obj, edge.attribute.name)
CytoscapeWindowClass
cw <- new.CytoscapeWindow ('setEdgeLabelRule.test', graph=makeSimpleGraph()) displayGraph (cw) layoutNetwork(cw, 'jgraph-spring') redraw (cw) setEdgeLabelRule (cw, 'edgeType')
Run the code above in your browser using DataLab