Variable styleConst

style: {
    style: (
        | {
            css: {
                "background-color": string;
                color: string;
                label: (node: any) => any;
                shape: string;
                visibility?: undefined;
            };
            selector: string;
        }
        | {
            css: {
                "background-color"?: undefined;
                color: string;
                label: (edge: any) => any;
                shape?: undefined;
                visibility?: undefined;
            };
            selector: string;
        }
        | {
            css: {
                "background-color"?: undefined;
                color?: undefined;
                label?: undefined;
                shape?: undefined;
                visibility: string;
            };
            selector: string;
        }
        | {
            css: {
                "background-color": string;
                color?: undefined;
                label?: undefined;
                shape?: undefined;
                visibility?: undefined;
            };
            selector: string;
        }
    )[];
} = ...

Test style for error detection.

Type declaration

  • style: (
        | {
            css: {
                "background-color": string;
                color: string;
                label: (node: any) => any;
                shape: string;
                visibility?: undefined;
            };
            selector: string;
        }
        | {
            css: {
                "background-color"?: undefined;
                color: string;
                label: (edge: any) => any;
                shape?: undefined;
                visibility?: undefined;
            };
            selector: string;
        }
        | {
            css: {
                "background-color"?: undefined;
                color?: undefined;
                label?: undefined;
                shape?: undefined;
                visibility: string;
            };
            selector: string;
        }
        | {
            css: {
                "background-color": string;
                color?: undefined;
                label?: undefined;
                shape?: undefined;
                visibility?: undefined;
            };
            selector: string;
        }
    )[]