Interface EditorConfig

Hierarchy

  • BaseConfig
    • EditorConfig

Properties

container?: HTMLDivElement
drawing?: Partial<{
    connectable: boolean;
    editAnchor: Partial<{
        anchorFill: string;
        anchorStroke: string;
    }>;
    snapToGrid: Partial<{
        dash: number[];
        enable: boolean;
        stroke: string;
        strokeWidth: number;
    }>;
}>
graph?: string
history?: Partial<{
    keyboard: {
        enabled: boolean;
    };
}>
selection?: Partial<{
    interactive: boolean;
    keyboard: Partial<Nullable<{
        enabled: boolean;
        map: Partial<Nullable<{
            copy?: string[];
            delete?: string[];
            deselect?: string[];
            group?: string[];
            inverseSelect?: string[];
            moveDown?: string[];
            moveDownSlow?: string[];
            moveLeft?: string[];
            moveLeftSlow?: string[];
            moveRight?: string[];
            moveRightSlow?: string[];
            moveUp?: string[];
            moveUpSlow?: string[];
            paste?: string[];
            redo?: string[];
            selectAll?: string[];
            toSelectMode?: string[];
            undo?: string[];
        }>>;
        movingSpaces: number;
    }>>;
    transformer: TransformerConfig;
    zone: Partial<{
        fill: string;
        stroke: string;
    }>;
}>
style?: StyleConfig
view?: Partial<{
    grid: GridConfig;
    size: Partial<{
        height: number;
        width: number;
    }>;
}>

Generated using TypeDoc