Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →
ExamplesInteraction

Contextual Zoom

This example shows how the current zoom level can be used by a node to decide which content to show.

import type { Node } from '@xyflow/vue'; export type ZoomNodeType = Node<{ content: string }, 'zoom'>;