コンテンツへスキップ

pivotick v3.0.0


ピボット / GraphInteractions / GraphInteractions

クラス: GraphInteractions<TElement> ​

定義: GraphInteractions.ts:20

型パラメータ ​

TElement ​

TElement = unknown

コンストラクター ​

コンストラクター ​

new GraphInteractions<TElement>(graph): GraphInteractions<TElement>

定義: GraphInteractions.ts:33

パラメータ ​

graph ​

Pivotick

返品 ​

GraphInteractions<TElement>

メソッド ​

addNodesToSelection() ​

addNodesToSelection(addSelection): void

定義: GraphInteractions.ts:633

パラメータ ​

addSelection ​

NodeSelection<TElement>[]

返品 ​

void


badgeClick() ​

badgeClick(element, event, node, badge): void

定義: GraphInteractions.ts:120

リムバッジがクリックされました。一般の前に特定: バッジ自体の onClick が最初に実行されます。 then the graph-wide onBadgeClick.どちらももう一方 (バス リスナー) を抑制することはできません cancel() を呼び出すことが、両方を停止する 1 つの方法です。

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

badge ​

NodeBadge

返品 ​

void


canvasBeforeZoom() ​

canvasBeforeZoom(event): boolean

定義: GraphInteractions.ts:454

パラメータ ​

event ​

unknown

返品 ​

boolean


canvasClick() ​

canvasClick(event): void

定義: GraphInteractions.ts:420

パラメータ ​

event ​

PointerEvent

返品 ​

void


canvasContextmenu() ​

canvasContextmenu(event): void

定義: GraphInteractions.ts:482

パラメータ ​

event ​

PointerEvent

返品 ​

void


canvasMousemove() ​

canvasMousemove(event): void

定義: GraphInteractions.ts:500

パラメータ ​

event ​

MouseEvent

返品 ​

void


canvasPointerDown() ​

canvasPointerDown(event): void

定義: GraphInteractions.ts:440

パラメータ ​

event ​

PointerEvent

返品 ​

void


canvasPointerUp() ​

canvasPointerUp(event): void

定義: GraphInteractions.ts:447

パラメータ ​

event ​

PointerEvent

返品 ​

void


canvasZoom() ​

canvasZoom(event): void

定義: GraphInteractions.ts:473

パラメータ ​

event ​

unknown

返品 ​

void


clearEdgeSelectionList() ​

clearEdgeSelectionList(): void

定義: GraphInteractions.ts:743

返品 ​

void


clearNodeSelectionList() ​

clearNodeSelectionList(): void

定義: GraphInteractions.ts:724

返品 ​

void


dragended() ​

dragended(event, node): void

定義: GraphInteractions.ts:225

パラメータ ​

event ​

PointerEvent

node ​

Node

返品 ​

void


dragging() ​

dragging(event, node): void

定義: GraphInteractions.ts:218

パラメータ ​

event ​

PointerEvent

node ​

Node

返品 ​

void


edgeClick() ​

edgeClick(element, event, drawn): void

定義: GraphInteractions.ts:232

パラメータ ​

element ​

TElement

event ​

PointerEvent

drawn ​

Edge

返品 ​

void


edgeContextmenu() ​

edgeContextmenu(element, event, drawn): void

定義: GraphInteractions.ts:271

パラメータ ​

element ​

TElement

event ​

PointerEvent

drawn ​

Edge

返品 ​

void


edgeDbclick() ​

edgeDbclick(element, event, drawn): void

定義: GraphInteractions.ts:252

パラメータ ​

element ​

TElement

event ​

PointerEvent

drawn ​

Edge

返品 ​

void


edgeHoverIn() ​

edgeHoverIn(element, event, drawn): void

定義: GraphInteractions.ts:290

パラメータ ​

element ​

TElement

event ​

PointerEvent

drawn ​

Edge

返品 ​

void


edgeHoverOut() ​

edgeHoverOut(element, event, drawn): void

定義: GraphInteractions.ts:298

パラメータ ​

element ​

TElement

event ​

PointerEvent

drawn ​

Edge

返品 ​

void


expandNodeSelection() ​

expandNodeSelection(): void

定義: GraphInteractions.ts:790

選択したクラスターを展開または折りたたんで、選択したグループを開いたり閉じたりします。

返品 ​

void


getGraph() ​

getGraph(): Pivotick

定義: GraphInteractions.ts:71

返品 ​

Pivotick


getLastPointerEvent() ​

getLastPointerEvent(): MouseEvent | null

定義: GraphInteractions.ts:802

返品 ​

MouseEvent | null


getSelectedEdge() ​

getSelectedEdge(): EdgeSelection<TElement> | null

定義: GraphInteractions.ts:769

返品 ​

EdgeSelection<TElement> | null


getSelectedEdgeIDs() ​

getSelectedEdgeIDs(): string[] | null

定義: GraphInteractions.ts:781

返品 ​

string[] | null


getSelectedEdges() ​

getSelectedEdges(): EdgeSelection<TElement>[]

定義: GraphInteractions.ts:785

返品 ​

EdgeSelection<TElement>[]


getSelectedNode() ​

getSelectedNode(): NodeSelection<TElement> | null

定義: GraphInteractions.ts:765

返品 ​

NodeSelection<TElement> | null


getSelectedNodeIDs() ​

getSelectedNodeIDs(): string[] | null

定義: GraphInteractions.ts:773

返品 ​

string[] | null


getSelectedNodes() ​

getSelectedNodes(): NodeSelection<TElement>[]

定義: GraphInteractions.ts:777

返品 ​

NodeSelection<TElement>[]


hasActiveMultiselection() ​

hasActiveMultiselection(): boolean

定義: GraphInteractions.ts:756

返品 ​

boolean


nodeClick() ​

nodeClick(element, event, node): void

定義: GraphInteractions.ts:84

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

返品 ​

void


nodeContextmenu() ​

nodeContextmenu(element, event, node): void

定義: GraphInteractions.ts:161

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

返品 ​

void


nodeDbclick() ​

nodeDbclick(element, event, node): void

定義: GraphInteractions.ts:141

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

返品 ​

void


nodeHoverIn() ​

nodeHoverIn(element, event, node): void

定義: GraphInteractions.ts:204

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

返品 ​

void


nodeHoverOut() ​

nodeHoverOut(element, event, node): void

定義: GraphInteractions.ts:211

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

返品 ​

void


nodePointerDown() ​

nodePointerDown(element, event, node): void

定義: GraphInteractions.ts:179

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

返品 ​

void


nodePointerUp() ​

nodePointerUp(element, event, node): void

定義: GraphInteractions.ts:197

パラメータ ​

element ​

TElement

event ​

PointerEvent

node ​

Node

返品 ​

void


noteClick() ​

noteClick(element, event, note): void

定義: GraphInteractions.ts:306

パラメータ ​

element ​

TElement

event ​

PointerEvent

note ​

Note

返品 ​

void


noteContextmenu() ​

noteContextmenu(element, event, note): void

定義: GraphInteractions.ts:342

パラメータ ​

element ​

TElement

event ​

PointerEvent

note ​

Note

返品 ​

void


noteDbclick() ​

noteDbclick(element, event, note): void

定義: GraphInteractions.ts:324

パラメータ ​

element ​

TElement

event ​

PointerEvent

note ​

Note

返品 ​

void


noteDragging() ​

noteDragging(event, note): void

定義: GraphInteractions.ts:413

パラメータ ​

event ​

PointerEvent

note ​

Note

返品 ​

void


noteHandleClick() ​

noteHandleClick(handle, event, note): void

定義: GraphInteractions.ts:388

パラメータ ​

handle ​

HTMLElement

event ​

PointerEvent

note ​

Note

返品 ​

void


noteHandlePointerDown() ​

noteHandlePointerDown(handle, event, note): void

定義: GraphInteractions.ts:406

パラメータ ​

handle ​

HTMLElement

event ​

PointerEvent

note ​

Note

返品 ​

void


noteHoverIn() ​

noteHoverIn(element, event, note): void

定義: GraphInteractions.ts:360

パラメータ ​

element ​

TElement

event ​

PointerEvent

note ​

Note

返品 ​

void


noteHoverOut() ​

noteHoverOut(element, event, note): void

定義: GraphInteractions.ts:367

パラメータ ​

element ​

TElement

event ​

PointerEvent

note ​

Note

返品 ​

void


notePointerDown() ​

notePointerDown(element, event, note): void

定義: GraphInteractions.ts:374

パラメータ ​

element ​

TElement

event ​

PointerEvent

note ​

Note

返品 ​

void


notePointerUp() ​

notePointerUp(element, event, note): void

定義: GraphInteractions.ts:381

パラメータ ​

element ​

TElement

event ​

PointerEvent

note ​

Note

返品 ​

void


off() ​

off<K>(event, handler): void

定義: GraphInteractions.ts:64

型パラメータ ​

K ​

K ** GraphInteractionEvents<TElement> のキーを拡張します

パラメータ ​

event ​

K

handler ​

GraphInteractionEvents<TElement>[K]

返品 ​

void


on() ​

on<K>(event, handler): void

定義: GraphInteractions.ts:57

型パラメータ ​

K ​

K ** GraphInteractionEvents<TElement> のキーを拡張します

パラメータ ​

event ​

K

handler ​

GraphInteractionEvents<TElement>[K]

返品 ​

void


refreshRendering() ​

refreshRendering(): void

定義: GraphInteractions.ts:760

返品 ​

void


removeNodesFromSelection() ​

removeNodesFromSelection(removeSelection): void

定義: GraphInteractions.ts:654

パラメータ ​

removeSelection ​

NodeSelection<TElement>[]

返品 ​

void


selectEdge() ​

selectEdge(element, edge): void

定義: GraphInteractions.ts:669

パラメータ ​

element ​

TElement

edge ​

Edge

返品 ​

void


selectEdges() ​

selectEdges(selection): void

定義: GraphInteractions.ts:683

パラメータ ​

selection ​

[Edge, TElement][]

返品 ​

void


selectNode() ​

selectNode(element, node): void

定義: GraphInteractions.ts:522

パラメータ ​

element ​

TElement

node ​

Node

返品 ​

void


selectNodes() ​

selectNodes(selection): void

定義: GraphInteractions.ts:619

パラメータ ​

selection ​

NodeSelection<TElement>[]

返品 ​

void


simulationSlowTick() ​

simulationSlowTick(): void

定義: GraphInteractions.ts:515

返品 ​

void


simulationTick() ​

simulationTick(): void

定義: GraphInteractions.ts:508

返品 ​

void


unselectAll() ​

unselectAll(): void

定義: GraphInteractions.ts:716

返品 ​

void


unselectEdge() ​

unselectEdge(): void

定義: GraphInteractions.ts:702

返品 ​

void


unselectNode() ​

unselectNode(): void

定義: GraphInteractions.ts:537

返品 ​

void