public void color(EdgeChildColorizerClient client) {
java.awt.Color c = client.getParentEdge().getOriginalColor();
if (c != null) {
client.setColor(new SimpleColor(c.getRed(), c.getGreen(), c.getBlue(), c.getAlpha()));
} else {
client.setColor(new MixedColor(
client.getParentEdge().getNode1().getColorHolder(),
client.getParentEdge().getNode2().getColorHolder()));
}
}