Skip to content

@eightkk/vue-weave / core / GraphContextMenu

Interface: GraphContextMenu ​

Defined in: src/core/types.ts:618

Payload of the NetworkGraph context-menu event. The component renders no menu itself.

Properties ​

clientX ​

clientX: number

Defined in: src/core/types.ts:623

Viewport coordinates for positioning a menu, for example with position: fixed.


clientY ​

clientY: number

Defined in: src/core/types.ts:624


point ​

point: GraphPoint

Defined in: src/core/types.ts:621

The pointer position, or the centre of the focused element, in chart (world) coordinates.


source ​

source: "pointer" | "keyboard"

Defined in: src/core/types.ts:625


target ​

target: GraphContextMenuTarget

Defined in: src/core/types.ts:619

Released under the MIT License.