EdgeData data = edge.getEdgeData();
if(data.r()<0||data.g()<0||data.b()<0||data.alpha()<0){
return null;//Not specific color for edge
}
return new Color(data.r(), data.g(), data.b(), data.alpha());
}
public void setEdgeColor(Color c) {
if (c != null) {
EdgeData data = edge.getEdgeData();