Skip to main content

components_Viewport

perfect-graph / Modules / components/Viewport

Module: components/Viewport#

Table of contents#

Namespaces#

Type aliases#

Variables#

Type aliases#

ViewportOnPress#

Ƭ ViewportOnPress: (event: ViewportOnPressEvent) => void | undefined

Type declaration#

â–¸ (event): void | undefined

Parameters#
NameType
eventViewportOnPressEvent
Returns#

void | undefined

Defined in#

components/Viewport/index.tsx:30


ViewportProps#

Ƭ ViewportProps: { children?: React.ReactNode } & Omit<NativeViewportProps, "app" | "theme">

Defined in#

components/Viewport/index.tsx:360

Variables#

Viewport#

• Viewport: FC<ViewportProps>

The wrapper for Node and Edge Elements to provide drag, pinch, and zoom functionality.

Defined in#

components/Viewport/index.tsx:452