NetRec:
TYPE =
RECORD [
name: ROPE, -- must be filled by the user
width: INT ← 0, -- 0 default means minimum size
routeEveryOuterSeg: BOOL ← TRUE, -- FALSE if there is redundancy in outer pins
facing: BOOL ← FALSE, -- already facing
chosen: BOOL ← FALSE, -- chosen for being routed
eval: INT ← 0, -- evaluation function
arc: Arc ← NIL, -- arc used by this net
innerSegs, outerSegs, newInnerSegs: LIST OF Seg ← NIL -- pins of the net, position is relative to the [0, 0] of the interest rect of the outer. newInnerPins is used internally (pins for the next iteration)
];