Skip to Content
You are viewing the v12 docs of React Flow. You can find the latest version here.
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 node type to the MiniMap.

Fields

NameTypeDefault
idstring
xnumber
ynumber
widthnumber
heightnumber
borderRadiusnumber
classNamestring
colorstring
shapeRenderingstring
strokeColorstring
strokeWidthnumber
styleCSSProperties
selectedboolean
onClick(event: MouseEvent<Element, MouseEvent>, id: string) => void
Last updated on