Coral 0.2.17 candidate API
    Preparing search index...

    Function laneContourContact029

    • Keep an orthogonal connector's lane at a free contact: slide along the axis of the segment that arrives from next until it meets the visible outline. A centre ray would move the contact sideways and tilt that segment into a neighbour. Returns undefined when the lane misses the outline, or for BPMN events and gateways, whose dedicated contacts are unchanged.

      Parameters

      • node: Pick<
            RenderSceneNode,
            | "id"
            | "x"
            | "y"
            | "width"
            | "height"
            | "shapeId"
            | "symbolId"
            | "shapeParameters"
            | "container",
        >
      • next: Position
      • axis: "x" | "y"
      • Optionaloptions: Pick<
            {
                containerNodeIds?: ReadonlySet<string>;
                documentCatalog029?: CatalogSnapshot028;
                edgeRoutes?: ReadonlyMap<string, readonly LayoutSection[]>;
                layoutDirection?: LayoutDirection;
                nodeGeometry?: ReadonlyMap<
                    string,
                    { height: number; width: number; x: number; y: number },
                >;
                nodeParentIds?: ReadonlyMap<string, string>;
                semanticInterpretations029?: ReadonlyMap<string, NodeInterpretation028>;
                sourceDirections?: ReadonlyMap<string, SourceEdgeDirection028>;
                theme?: RenderThemeFallback;
                visibleContour?: (
                    shapeId: string,
                    parameters?: Readonly<Record<string, string | number | boolean>>,
                    containerFrame?: { height: number; width: number },
                ) => string;
            },
            "layoutDirection"
            | "visibleContour",
        >
      • Optionalmargin: number

      Returns Position | undefined