Edges are now loaded after nodes, so that they can be attached to ports correctly