Zum Inhalt springen

pivotick v3.0.0


Pivotick / GraphInteractionsI / GraphInteractionEvents

Typalias: GraphInteractionEvents<TElement> ​

GraphInteractionEvents<TElement> = object

Definiert in: interfaces/GraphInteractions.ts:25

Typparameter ​

TElement ​

TElement

Eigenschaften ​

badgeClick() ​

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

Definiert in: interfaces/GraphInteractions.ts:42

Ein Felgenabzeichen wurde angeklickt. Feuert vor dem eigenen Abzeichen onClick und vor InterractionCallbacks.onBadgeClick; context.cancel() unterdrückt beides. element ist die Gruppe des Knotens, wie bei jedem anderen Knotenereignis.

Parameter ​

event ​

PointerEvent

node ​

Node

badge ​

NodeBadge

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


canvasBeforeZoom() ​

canvasBeforeZoom: (event, context) => void

Definiert in: interfaces/GraphInteractions.ts:66

Parameter ​

event ​

unknown

context ​

GraphInteractionContext

Rückgabewert ​

void


canvasClick() ​

canvasClick: (event, context) => void

Definiert in: interfaces/GraphInteractions.ts:63

Parameter ​

event ​

PointerEvent

context ​

GraphInteractionContext

Rückgabewert ​

void


canvasContextmenu() ​

canvasContextmenu: (event, context) => void

Definiert in: interfaces/GraphInteractions.ts:69

Parameter ​

event ​

PointerEvent

context ​

GraphInteractionContext

Rückgabewert ​

void


canvasMousemove() ​

canvasMousemove: (event) => void

Definiert in: interfaces/GraphInteractions.ts:68

Parameter ​

event ​

MouseEvent

Rückgabewert ​

void


canvasPointerDown() ​

canvasPointerDown: (event) => void

Definiert in: interfaces/GraphInteractions.ts:64

Parameter ​

event ​

PointerEvent

Rückgabewert ​

void


canvasPointerUp() ​

canvasPointerUp: (event) => void

Definiert in: interfaces/GraphInteractions.ts:65

Parameter ​

event ​

PointerEvent

Rückgabewert ​

void


canvasZoom() ​

canvasZoom: (event) => void

Definiert in: interfaces/GraphInteractions.ts:67

Parameter ​

event ​

unknown

Rückgabewert ​

void


dragended() ​

dragended: (event, node) => void

Definiert in: interfaces/GraphInteractions.ts:36

Parameter ​

event ​

MouseEvent

node ​

Node

Rückgabewert ​

void


dragging() ​

dragging: (event, node) => void

Definiert in: interfaces/GraphInteractions.ts:35

Parameter ​

event ​

MouseEvent

node ​

Node

Rückgabewert ​

void


edgeBlur() ​

edgeBlur: (edge, element) => void

Definiert in: interfaces/GraphInteractions.ts:50

Parameter ​

edge ​

Edge

element ​

TElement

Rückgabewert ​

void


edgeClick() ​

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

Definiert in: interfaces/GraphInteractions.ts:44

Parameter ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


edgeContextmenu() ​

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

Definiert in: interfaces/GraphInteractions.ts:46

Parameter ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


edgeDbclick() ​

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

Definiert in: interfaces/GraphInteractions.ts:45

Parameter ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


edgeHoverIn() ​

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

Definiert in: interfaces/GraphInteractions.ts:47

Parameter ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

Rückgabewert ​

void


edgeHoverOut() ​

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

Definiert in: interfaces/GraphInteractions.ts:48

Parameter ​

event ​

PointerEvent

edge ​

Edge

element ​

TElement

Rückgabewert ​

void


edgeSelect() ​

edgeSelect: (edge, element) => void

Definiert in: interfaces/GraphInteractions.ts:49

Parameter ​

edge ​

Edge

element ​

TElement

Rückgabewert ​

void


nodeBlur() ​

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

Definiert in: interfaces/GraphInteractions.ts:34

Parameter ​

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


nodeClick() ​

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

Definiert in: interfaces/GraphInteractions.ts:26

Parameter ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


nodeContextmenu() ​

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

Definiert in: interfaces/GraphInteractions.ts:28

Parameter ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


nodeDbclick() ​

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

Definiert in: interfaces/GraphInteractions.ts:27

Parameter ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


nodeHoverIn() ​

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

Definiert in: interfaces/GraphInteractions.ts:29

Parameter ​

event ​

PointerEvent

node ​

Node

element ​

TElement

Rückgabewert ​

void


nodeHoverOut() ​

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

Definiert in: interfaces/GraphInteractions.ts:30

Parameter ​

event ​

PointerEvent

node ​

Node

element ​

TElement

Rückgabewert ​

void


nodePointerDown() ​

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

Definiert in: interfaces/GraphInteractions.ts:31

Parameter ​

event ​

PointerEvent

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


nodePointerUp() ​

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

Definiert in: interfaces/GraphInteractions.ts:32

Parameter ​

event ​

PointerEvent

node ​

Node

element ​

TElement

Rückgabewert ​

void


nodeSelect() ​

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

Definiert in: interfaces/GraphInteractions.ts:33

Parameter ​

node ​

Node

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


noteClick() ​

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

Definiert in: interfaces/GraphInteractions.ts:52

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


noteContextmenu() ​

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

Definiert in: interfaces/GraphInteractions.ts:54

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


noteDbclick() ​

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

Definiert in: interfaces/GraphInteractions.ts:53

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

TElement

context ​

GraphInteractionContext

Rückgabewert ​

void


noteDragging() ​

noteDragging: (event, note) => void

Definiert in: interfaces/GraphInteractions.ts:61

Parameter ​

event ​

PointerEvent

note ​

Note

Rückgabewert ​

void


noteHandleClick() ​

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

Definiert in: interfaces/GraphInteractions.ts:59

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

HTMLElement

context ​

GraphInteractionContext

Rückgabewert ​

void


noteHandlePointerDown() ​

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

Definiert in: interfaces/GraphInteractions.ts:60

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

HTMLElement

Rückgabewert ​

void


noteHoverIn() ​

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

Definiert in: interfaces/GraphInteractions.ts:55

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

TElement

Rückgabewert ​

void


noteHoverOut() ​

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

Definiert in: interfaces/GraphInteractions.ts:56

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

TElement

Rückgabewert ​

void


notePointerDown() ​

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

Definiert in: interfaces/GraphInteractions.ts:57

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

TElement

Rückgabewert ​

void


notePointerUp() ​

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

Definiert in: interfaces/GraphInteractions.ts:58

Parameter ​

event ​

PointerEvent

note ​

Note

element ​

TElement

Rückgabewert ​

void


selectEdge() ​

selectEdge: (edge, element) => void

Definiert in: interfaces/GraphInteractions.ts:78

Parameter ​

edge ​

Edge

element ​

TElement

Rückgabewert ​

void


selectEdges() ​

selectEdges: (edges) => void

Definiert in: interfaces/GraphInteractions.ts:80

Parameter ​

edges ​

EdgeSelection<TElement>[]

Rückgabewert ​

void


selectNode() ​

selectNode: (node, element) => void

Definiert in: interfaces/GraphInteractions.ts:73

Parameter ​

node ​

Node

element ​

TElement

Rückgabewert ​

void


selectNodes() ​

selectNodes: (nodes) => void

Definiert in: interfaces/GraphInteractions.ts:75

Parameter ​

nodes ​

NodeSelection<TElement>[]

Rückgabewert ​

void


simulationSlowTick() ​

simulationSlowTick: () => void

Definiert in: interfaces/GraphInteractions.ts:71

Rückgabewert ​

void


simulationTick() ​

simulationTick: () => void

Definiert in: interfaces/GraphInteractions.ts:70

Rückgabewert ​

void


unselectEdge() ​

unselectEdge: (edge, element) => void

Definiert in: interfaces/GraphInteractions.ts:79

Parameter ​

edge ​

Edge

element ​

TElement

Rückgabewert ​

void


unselectEdges() ​

unselectEdges: (edges) => void

Definiert in: interfaces/GraphInteractions.ts:81

Parameter ​

edges ​

EdgeSelection<TElement>[]

Rückgabewert ​

void


unselectNode() ​

unselectNode: (node, element) => void

Definiert in: interfaces/GraphInteractions.ts:74

Parameter ​

node ​

Node

element ​

TElement

Rückgabewert ​

void


unselectNodes() ​

unselectNodes: (nodes) => void

Definiert in: interfaces/GraphInteractions.ts:76

Parameter ​

nodes ​

NodeSelection<TElement>[]

Rückgabewert ​

void