g3-toolkit API Reference
    Preparing search index...

    Function routeStructuralEdges

    • Parameters

      • input: StructuralGraphInput
      • geometry: StructuralGeometry
      • Optionaloptions: { anchor?: "source" | "target"; direction?: string; routingBudgetMs?: number }
        • Optionalanchor?: "source" | "target"

          R-4 (round 17, 2026-07-28): which end is anchored FIRST. "target" resolves arrival points before source departures, so many-to-one flow spreads sources against the arrival order rather than against the target's center. Default "source" preserves existing scenes exactly.

        • Optionaldirection?: string
        • OptionalroutingBudgetMs?: number

      Returns Record<string, { points: Pt[] }>