bpmn-visualization API Documentation
    Preparing search index...

    Variable ShapeUtilConst Experimental

    ShapeUtil: {
        activityKinds(): ShapeBpmnElementKind[];
        artifactKinds(): ShapeBpmnElementKind[];
        canHaveNoneEvent(kind: ShapeBpmnElementKind): boolean;
        eventKinds(): ShapeBpmnElementKind[];
        flowNodeKinds(): ShapeBpmnElementKind[];
        gatewayKinds(): ShapeBpmnElementKind[];
        isActivity(kind: string): boolean;
        isArtifact(kind: string): boolean;
        isBoundaryEvent(kind: ShapeBpmnElementKind): boolean;
        isCallActivity(kind: ShapeBpmnElementKind): boolean;
        isCatchEvent(kind: ShapeBpmnElementKind): boolean;
        isEvent(kind: string): boolean;
        isFlowNode(kind: string): boolean;
        isGateway(kind: string): boolean;
        isIntermediateCatchEvent(kind: ShapeBpmnElementKind): boolean;
        isIntermediateThrowEvent(kind: ShapeBpmnElementKind): boolean;
        isPoolOrLane(kind: string): boolean;
        isStartEvent(kind: ShapeBpmnElementKind): boolean;
        isSubProcess(kind: ShapeBpmnElementKind): boolean;
        isTask(kind: string): boolean;
        isWithDefaultSequenceFlow(kind: ShapeBpmnElementKind): boolean;
        taskKinds(): ShapeBpmnElementKind[];
    } = ...

    Utils to simplify the management of ShapeBpmnElementKind.

    This is mainly used for internal purpose. You may use it to customize the BPMN theme as proposed in the examples but be aware it is subject to change.

    Type Declaration