@joint/react
    Preparing search index...

    Interface LinkLayout

    Resolved geometry of one link on a specific paper: the source and target endpoint coordinates plus the rendered SVG path. Returned by useLinkLayout so you can draw or measure alongside a link.

    interface LinkLayout {
        d: string;
        sourceX: number;
        sourceY: number;
        targetX: number;
        targetY: number;
    }
    Index

    Properties

    d: string

    SVG path data (the d attribute) for the link's rendered route.

    sourceX: number

    X coordinate of the link's source endpoint, in paper coordinates.

    sourceY: number

    Y coordinate of the link's source endpoint, in paper coordinates.

    targetX: number

    X coordinate of the link's target endpoint, in paper coordinates.

    targetY: number

    Y coordinate of the link's target endpoint, in paper coordinates.