I need to apply color to an edge in prefuse by using source and target node id.
Here i am posting the code similar to what i have done for nodes...
here i assumed source node=1 and target node=2.But i got error.Here the entry in XML is
Thank u.
Here i am posting the code similar to what i have done for nodes...
Code:
ColorAction nEdges = new ColorAction(treeEdges.source=1,treeEgdes.target=2 VisualItem.STROKECOLOR); nEdges.setDefaultColor(ColorLib.red(100));
here i assumed source node=1 and target node=2.But i got error.Here the entry in XML is
Code:
<edge source="1" target="2" />