跳转到内容

pivotick v3.0.0


拓展 / GraphInteractionsI / GraphInteractionEvents

类型别名: GraphInteractionEvents<TElement> ​

GraphInteractionEvents<TElement> = object

定义于:interfaces/GraphInteractions.ts:25

类型参数 ​

TElement ​

TElement

属性 ​

badgeClick() ​

badgeClick: (event, node, badge, element, context) => void

定义于:interfaces/GraphInteractions.ts:42

点击了轮圈徽章。在徽章本身的 onClick 和 InterractionCallbacks.onBadgeClick 之前触发; context.cancel() 抑制两者。 element 是节点的组,与每个其他节点事件一样。

参数 ​

event ​

PointerEvent

node ​

Node

badge ​

NodeBadge

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


canvasBeforeZoom() ​

canvasBeforeZoom: (event, context) => void

定义于:interfaces/GraphInteractions.ts:66

参数 ​

event ​

unknown

context ​

GraphInteractionContext

返回值 ​

void


canvasClick() ​

canvasClick: (event, context) => void

定义于:interfaces/GraphInteractions.ts:63

参数 ​

event ​

PointerEvent

context ​

GraphInteractionContext

返回值 ​

void


canvasContextmenu() ​

canvasContextmenu: (event, context) => void

定义于:interfaces/GraphInteractions.ts:69

参数 ​

event ​

PointerEvent

context ​

GraphInteractionContext

返回值 ​

void


canvasMousemove() ​

canvasMousemove: (event) => void

定义于:interfaces/GraphInteractions.ts:68

参数 ​

event ​

MouseEvent

返回值 ​

void


canvasPointerDown() ​

canvasPointerDown: (event) => void

定义于:interfaces/GraphInteractions.ts:64

参数 ​

event ​

PointerEvent

返回值 ​

void


canvasPointerUp() ​

canvasPointerUp: (event) => void

定义于:interfaces/GraphInteractions.ts:65

参数 ​

event ​

PointerEvent

返回值 ​

void


canvasZoom() ​

canvasZoom: (event) => void

定义于:interfaces/GraphInteractions.ts:67

参数 ​

event ​

unknown

返回值 ​

void


dragended() ​

dragended: (event, node) => void

定义于:interfaces/GraphInteractions.ts:36

参数 ​

event ​

MouseEvent

node ​

Node

返回值 ​

void


dragging() ​

dragging: (event, node) => void

定义于:interfaces/GraphInteractions.ts:35

参数 ​

event ​

MouseEvent

node ​

Node

返回值 ​

void


edgeBlur() ​

edgeBlur: (edge, element) => void

定义于:interfaces/GraphInteractions.ts:50

参数 ​

edge ​

Edge

element ​

TElement

返回值 ​

void


edgeClick() ​

edgeClick: (event, edge, element, context) => void

定义于:interfaces/GraphInteractions.ts:44

参数 ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


edgeContextmenu() ​

edgeContextmenu: (event, edge, element, context) => void

定义于:interfaces/GraphInteractions.ts:46

参数 ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


edgeDbclick() ​

edgeDbclick: (event, edge, element, context) => void

定义于:interfaces/GraphInteractions.ts:45

参数 ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


edgeHoverIn() ​

edgeHoverIn: (event, edge, element) => void

定义于:interfaces/GraphInteractions.ts:47

参数 ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

返回值 ​

void


edgeHoverOut() ​

edgeHoverOut: (event, edge, element) => void

定义于:interfaces/GraphInteractions.ts:48

参数 ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

返回值 ​

void


edgeSelect() ​

edgeSelect: (edge, element) => void

定义于:interfaces/GraphInteractions.ts:49

参数 ​

edge ​

Edge

element ​

TElement

返回值 ​

void


nodeBlur() ​

nodeBlur: (node, element, context) => void

定义于:interfaces/GraphInteractions.ts:34

参数 ​

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


nodeClick() ​

nodeClick: (event, node, element, context) => void

定义于:interfaces/GraphInteractions.ts:26

参数 ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


nodeContextmenu() ​

nodeContextmenu: (event, node, element, context) => void

定义于:interfaces/GraphInteractions.ts:28

参数 ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


nodeDbclick() ​

nodeDbclick: (event, node, element, context) => void

定义于:interfaces/GraphInteractions.ts:27

参数 ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


nodeHoverIn() ​

nodeHoverIn: (event, node, element) => void

定义于:interfaces/GraphInteractions.ts:29

参数 ​

event ​

PointerEvent

node ​

Node

element ​

TElement

返回值 ​

void


nodeHoverOut() ​

nodeHoverOut: (event, node, element) => void

定义于:interfaces/GraphInteractions.ts:30

参数 ​

event ​

PointerEvent

node ​

Node

element ​

TElement

返回值 ​

void


nodePointerDown() ​

nodePointerDown: (event, node, element, context) => void

定义于:interfaces/GraphInteractions.ts:31

参数 ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


nodePointerUp() ​

nodePointerUp: (event, node, element) => void

定义于:interfaces/GraphInteractions.ts:32

参数 ​

event ​

PointerEvent

node ​

Node

element ​

TElement

返回值 ​

void


nodeSelect() ​

nodeSelect: (node, element, context) => void

定义于:interfaces/GraphInteractions.ts:33

参数 ​

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


noteClick() ​

noteClick: (event, note, element, context) => void

定义于:interfaces/GraphInteractions.ts:52

参数 ​

event ​

PointerEvent

note ​

Note

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


noteContextmenu() ​

noteContextmenu: (event, note, element, context) => void

定义于:interfaces/GraphInteractions.ts:54

参数 ​

event ​

PointerEvent

note ​

Note

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


noteDbclick() ​

noteDbclick: (event, note, element, context) => void

定义于:interfaces/GraphInteractions.ts:53

参数 ​

event ​

PointerEvent

note ​

Note

element ​

TElement

context ​

GraphInteractionContext

返回值 ​

void


noteDragging() ​

noteDragging: (event, note) => void

定义于:interfaces/GraphInteractions.ts:61

参数 ​

event ​

PointerEvent

note ​

Note

返回值 ​

void


noteHandleClick() ​

noteHandleClick: (event, note, element, context) => void

定义于:interfaces/GraphInteractions.ts:59

参数 ​

event ​

PointerEvent

note ​

Note

element ​

HTMLElement

context ​

GraphInteractionContext

返回值 ​

void


noteHandlePointerDown() ​

noteHandlePointerDown: (event, note, element) => void

定义于:interfaces/GraphInteractions.ts:60

参数 ​

event ​

PointerEvent

note ​

Note

element ​

HTMLElement

返回值 ​

void


noteHoverIn() ​

noteHoverIn: (event, note, element) => void

定义于:interfaces/GraphInteractions.ts:55

参数 ​

event ​

PointerEvent

note ​

Note

element ​

TElement

返回值 ​

void


noteHoverOut() ​

noteHoverOut: (event, note, element) => void

定义于:interfaces/GraphInteractions.ts:56

参数 ​

event ​

PointerEvent

note ​

Note

element ​

TElement

返回值 ​

void


notePointerDown() ​

notePointerDown: (event, note, element) => void

定义于:interfaces/GraphInteractions.ts:57

参数 ​

event ​

PointerEvent

note ​

Note

element ​

TElement

返回值 ​

void


notePointerUp() ​

notePointerUp: (event, note, element) => void

定义于:interfaces/GraphInteractions.ts:58

参数 ​

event ​

PointerEvent

note ​

Note

element ​

TElement

返回值 ​

void


selectEdge() ​

selectEdge: (edge, element) => void

定义于:interfaces/GraphInteractions.ts:78

参数 ​

edge ​

Edge

element ​

TElement

返回值 ​

void


selectEdges() ​

selectEdges: (edges) => void

定义于:interfaces/GraphInteractions.ts:80

参数 ​

edges ​

EdgeSelection<TElement>[]

返回值 ​

void


selectNode() ​

selectNode: (node, element) => void

定义于:interfaces/GraphInteractions.ts:73

参数 ​

node ​

Node

element ​

TElement

返回值 ​

void


selectNodes() ​

selectNodes: (nodes) => void

定义于:interfaces/GraphInteractions.ts:75

参数 ​

nodes ​

NodeSelection<TElement>[]

返回值 ​

void


simulationSlowTick() ​

simulationSlowTick: () => void

定义于:interfaces/GraphInteractions.ts:71

返回值 ​

void


simulationTick() ​

simulationTick: () => void

定义于:interfaces/GraphInteractions.ts:70

返回值 ​

void


unselectEdge() ​

unselectEdge: (edge, element) => void

定义于:interfaces/GraphInteractions.ts:79

参数 ​

edge ​

Edge

element ​

TElement

返回值 ​

void


unselectEdges() ​

unselectEdges: (edges) => void

定义于:interfaces/GraphInteractions.ts:81

参数 ​

edges ​

EdgeSelection<TElement>[]

返回值 ​

void


unselectNode() ​

unselectNode: (node, element) => void

定义于:interfaces/GraphInteractions.ts:74

参数 ​

node ​

Node

element ​

TElement

返回值 ​

void


unselectNodes() ​

unselectNodes: (nodes) => void

定义于:interfaces/GraphInteractions.ts:76

参数 ​

nodes ​

NodeSelection<TElement>[]

返回值 ​

void