DragNodeWithForce

Under force layout, drag nodes are automatically fixed, currently only supports graphin-force layout

API

NameDescriptionTypeDefault
autoPinWhether the dragged node is automatically fixedbooleanfalse
dragNodeMass--number--

DragNode

API

NameDescriptionTypeDefault
disabled--booleanfalse
updateEdge--booleantrue
delegateStyle--{}{ strokeOpacity: 0.6, fillOpacity: 0.6 }
enableDelegate--booleanfalse
onlyChangeComboSize--booleanfalse
comboActiveState--string''
selectedState--stringselected

ClickSelect

API

NameDescriptionTypeDefault
disabled--boolean--
multiple--boolean--
trigger--string--
selectedState--string--

ActivateRelations

API

NameDescriptionTypeDefault
disabled--booleanfalse
trigger--stringmouseenter
activeState--stringactive
inactiveState--stringinactive
resetSelected--booleanfalse

TreeCollapse

This interactive introduction can only take effect when the data structure is a tree and the internal rendering is a TreeGraph

API

NameDescriptionTypeDefault
trigger--string--
onChange--(item: Item, collapsed: boolean) => void--
shouldBegin--(e: IG6GraphEvent) => boolean--

FontPaint