src/sankeyLayout/link-ordering.js
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))
  })
}
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))
  })
}
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 ) ) } ) }
Order the edges at the given node.
The ports have already been setup and sorted.
Order the edges at the given node . The ports have already been setup and sorted .