@maxgraph/core
    Preparing search index...

    Interface EdgeStyleRegistryInterface

    The definition of a registry that stores the EdgeStyleFunctions and their configuration.

    0.20.0

    interface EdgeStyleRegistryInterface {
        add(
            name: string,
            edgeStyle: EdgeStyleFunction,
            metaData?: EdgeStyleMetaData,
        ): void;
        allowsIntermediateHandles(edgeStyle?: null | EdgeStyleFunction): boolean;
        get(name: undefined | null | string): null | EdgeStyleFunction;
        getHandlerKind(edgeStyle?: null | EdgeStyleFunction): EdgeStyleHandlerKind;
        getName(value: null | EdgeStyleFunction): null | string;
        isOrthogonal(edgeStyle?: null | EdgeStyleFunction): boolean;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Retrieves whether the specified edgeStyle allows intermediate bend handles.

      If the edgeStyle is not registered or the allowIntermediateHandles was not set during registration, this method returns true.

      Parameters

      Returns boolean

      0.24.0

    • Retrieves the orthogonal state of the specified edgeStyle as it was registered.

      If the edgeStyle is not registered or the orthogonal state was not set during registration, this method returns false.

      Parameters

      Returns boolean