Interface INodeOptions

interface INodeOptions {
    backgroundColor: string;
    badge: undefined | {
        color: string;
        text?: string;
    };
    borderColor: string;
    borderDash: undefined | number;
    humanReadable: undefined | string;
    padding: IPadding;
    selectable: boolean;
    tooltip: undefined | (() => Tooltip);
}

Properties

backgroundColor: string
badge: undefined | {
    color: string;
    text?: string;
}

Type declaration

  • color: string
  • Optional text?: string

    Right now we only support strings of length <= 2.

borderColor: string
borderDash: undefined | number
humanReadable: undefined | string
padding: IPadding
selectable: boolean
tooltip: undefined | (() => Tooltip)

Type declaration