code: function orderEdgesOne (G, v) {
    const node = G.node(v)
    node.ports.forEach(port => {
      port.incoming.sort(compareDirection(G, node, false))
      port.outgoing.sort(compareDirection(G, node, true))
    })
  }
docs: Order the edges at the given node.
  The ports have already been setup and sorted.