@joint/react
    Preparing search index...

    Interface GraphLink<Type>

    Base interface for graph link. It's a subset of dia.Link with some additional properties.

    interface GraphLink<Type extends StandardLinkShapesType | string = string> {
        anchor?: AnchorJSON;
        attrs?: Type extends keyof StandardLinkShapesTypeMapper
            ? StandardLinkShapesTypeMapper[Type<Type>]
            : unknown;
        connectionPoint?: ConnectionPointJSON;
        defaultLabel?: Label;
        id: ID;
        magnet?: string;
        markup?: MarkupJSON;
        port?: string;
        priority?: boolean;
        selector?: string;
        source: EndJSON | ID;
        target: EndJSON | ID;
        type?: Type;
        x?: number;
        y?: number;
        z?: number;
        [key: string]: unknown;
    }

    Type Parameters

    Hierarchy

    • EndJSON
    • Record<string, unknown>
      • GraphLink

    Indexable

    • [key: string]: unknown
    Index

    Properties

    anchor?: AnchorJSON
    attrs?: Type extends keyof StandardLinkShapesTypeMapper
        ? StandardLinkShapesTypeMapper[Type<Type>]
        : unknown

    Attributes of the element.

    connectionPoint?: ConnectionPointJSON
    defaultLabel?: Label

    Optional link attrs.

    id: ID

    Unique identifier of the link.

    magnet?: string
    markup?: MarkupJSON

    Optional link markup.

    port?: string
    priority?: boolean
    selector?: string
    source: EndJSON | ID

    Source element id.

    target: EndJSON | ID

    Target element id.

    type?: Type

    Optional link type.

    x?: number
    y?: number
    z?: number

    Z index of the link.