g6/packages/site/docs/apis/behaviors/CreateEdgeOptions.en.md

1.1 KiB

title order
CreateEdge 13
create edge

cancelCreateEventName

Type: string

Default: undefined

The event name triggered when canceling the creation of the edge

createActualEventName

Type: string

Default: undefined

The event name triggered when creating the actual edge

createVirtualEventName

Type: string

Default: undefined

The event name triggered when creating the virtual edge

edgeConfig

Type: EdgeDisplayModelData

Default: {}

Edge configuration

trigger

Type: 'click' | 'drag'

Default: 'click'

Required: false

Description: The event type that triggers the interaction