Skip to Content
Svelte Flow 2 is out! Read the announcement →
ReferenceTypes

MiniMapNodeProps

Source on GitHub 

The MiniMapNodeProps type defines the props for nodes in the <MiniMap /> component. This is only relevant if you pass a custom nodeComponent to the MiniMap.

Fields

NameTypeDefault
idstring
xnumber
ynumber
widthnumber
heightnumber
borderRadiusnumber
classClassValue
colorstring
shapeRenderingstring
strokeColorstring
strokeWidthnumber
selectedboolean