@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;
        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 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