A layered drawing (spec/08 §11.8), as Macaw.Draw.Layout.Layered.generate/4 answers it.
nodes: one per graph node in node order,%{id, row, x, y, width, height, rank, order},xandythe center,rowthe nodes slot's row ornil,orderthe node's place among its rank's nodes, left to right (top to bottom across:lr).edges: one per graph edge in edge order,%{index, row, source, target, points, path, reversed, label, end_angle}:pointsthe route's waypoints from the source to the target,pathitsMacaw.Draw.IR.Path,reversedwhether cycle breaking laid it out reversed (it is still drawn source to target),labelthe label's center ornil,end_anglethe bearing at the target end.widthandheight, the drawing's extent with its margin on each side;crossings, the kept order's weighted crossing count;bounded, whether network simplex stopped at its pivot bound.