} if(i.getEntity() instanceof PNode) { PNode p = (PNode) i.getEntity();
	public Paint getColor(VisualItem i) {		if(i.getEntity() instanceof PEdge) {			PEdge p = (PEdge) i.getEntity();			if(p.isPathElement()) {				return apsp;			}		}		if(i.getEntity() instanceof PNode) {			PNode p = (PNode) i.getEntity();			if(p.isPathElement()) {				return apsp;			}		}		return normal;	}