Type Alias EdgeHandlerConfigTypeExperimental

EdgeHandlerConfigType: {
    addBendOnShiftClickEnabled: boolean;
    connectFillColor: string;
    handleShape: "circle" | "square";
    removeBendOnShiftClickEnabled: boolean;
    selectionColor: string;
    selectionDashed: boolean;
    selectionStrokeWidth: number;
    virtualBendOpacity: number;
    virtualBendsEnabled: boolean;
}

Describes EdgeHandlerConfig.

Subject to change or removal. maxGraph's global configuration may be modified in the future without prior notice.

Type declaration

  • addBendOnShiftClickEnabled: boolean

    Specifies if adding bends by shift-click is enabled.

    Note: This experimental feature is not recommended for production use.

    false
    

    0.15.0

  • connectFillColor: string

    Defines the color to be used for the connect handle fill color. Use none for no color.

  • handleShape: "circle" | "square"

    Kind of shape to be used for edge handles.

    'square'
    
  • removeBendOnShiftClickEnabled: boolean

    Specifies if removing bends by shift-click is enabled.

    Note: This experimental feature is not recommended for production use.

    false
    

    0.15.0

  • selectionColor: string

    Defines the default color to be used for the selection border of edges. Use none for no color.

  • selectionDashed: boolean

    Defines the default dashed state to be used for the edge selection border.

  • selectionStrokeWidth: number

    Defines the default stroke width to be used for edge selections.

  • virtualBendOpacity: number

    Opacity to be used for virtual bends (see virtualBendsEnabled).

    20
    

    0.15.0

  • virtualBendsEnabled: boolean

    Specifies if virtual bends should be added in the center of each segment. These bends can then be used to add new waypoints.

    false
    

    0.15.0

0.14.0