package routing

Import Path
	github.com/d2lang/elk-go/internal/layered/intermediate/loops/routing (on go.dev)

Dependency Relation
	imports 10 packages, and imported by one package


Package-Level Functions (total 7)
CutPolylineCorners ports PolylineSelfLoopRouter.cutCorners. The first and last points are endpoints and are intentionally excluded from the result.
DetermineLoopRoutes chooses the clockwise interval occupied by each loop.
PlaceLabels determines each aggregate self-loop label's side, alignment, and first coordinate. JSON ELK graphs cannot supply Java's ILabelManager, so the optional management branch is intentionally inactive, as in elkjs.
RouteOrthogonal ports OrthogonalSelfLoopRouter from ELK 0.8.1.
RoutePolyline ports ELK 0.8.1's PolylineSelfLoopRouter. It starts with the orthogonal self-loop skeleton and replaces every corner with two points.
RouteSpline uses ELK's orthogonal self-loop skeleton and inserts the offset intermediate controls consumed by its cubic NUB conversion.