RAMEN Core
    Preparing search index...

    Interface RelationOption

    Relation that can be selected for an annotation definition.

    interface RelationOption {
        cardinalityOptions: readonly Bounds[];
        compatibleTargetNodeIds: readonly string[];
        direction: "outgoing" | "incoming";
        modelId: string;
        modelledBounds: Bounds;
        name: string;
        ref: string;
        relationId: string;
        relationIds?: readonly string[];
        suggestedBounds: Bounds;
        targetName: string;
        targetNodeId: string;
    }
    Index
    cardinalityOptions: readonly Bounds[]

    Common valid interval presets, not all possible intervals. An upper bound of -1 means unlimited.

    compatibleTargetNodeIds: readonly string[]

    Local IDs or qualified references for imported target nodes.

    direction: "outgoing" | "incoming"
    modelId: string
    modelledBounds: Bounds

    Effective interval from the model declaration; annotation rules may narrow it.

    name: string
    ref: string
    relationId: string
    relationIds?: readonly string[]

    Relation references counted together by suggestedBounds when this choice belongs to a group.

    suggestedBounds: Bounds

    Initial interval for a new selection, or the existing shape rule when editing.

    targetName: string
    targetNodeId: string