Skip to Content
You are viewing the v1 docs of Svelte Flow. You can find the latest version here.
ReferenceTypes

PanelPosition

This type is mostly used to help position things on top of the flow viewport. For example both the <MiniMap /> and <Controls /> components take a position prop of this type.

export type PanelPosition = | 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center-left' | 'center-right';

Fields

Last updated on