Untangling the network

This plot may not be the easiest to read, as the hybrid edge crosses over C's edge:

example1

To fix this, we can to rotate C and D's edges around their parent node.

First we need to know the number of this parent node. By showing node numbers with the shownodenumbers = true option, we can find the number of the node whose child edges we should rotate.

plot(net, shownodenumber=true);

example2

As we can see, rotating edges around node -5 will make for a prettier network.

rotate!(net, -5)
plot(net)

example3

This may seem unnecesary for a small network as shown, but it is a useful tool for plotting large networks.