OptionalanimationDuration of zoom/pan animations in milliseconds. Default: 750
OptionalchargeCharge strength for force simulation (negative = repel)
OptionalcollisionCollision radius padding
OptionalcolorsColors for different node states
OptionalcrowsDraw crow's-foot markers at the source end of edges (many side). Default: true
OptionaldagreDagre-specific layout configuration (only used when layoutAlgorithm is 'dagre', 'horizontal', or 'vertical')
OptionalemptyIcon class for empty state. Default: 'fa-solid fa-diagram-project'
OptionalemptyMessage to show when no nodes are provided. Default: 'No entities to display'
OptionalenableWhether to enable node dragging
OptionalenableEnable multi-select with Ctrl+click. Default: false
OptionalenableEnable panning by dragging background. Default: true
OptionalenableWhether to enable zoom/pan
OptionalfieldHeight per field in pixels
OptionalfitWhether to auto-fit diagram to container on initial load. Default: true
OptionalinitialInitial zoom level
OptionallayoutLayout algorithm to use. Default: 'schema-grid'
OptionallinkLink distance for force simulation
OptionalmaxMaximum zoom level applied during fit-to-view. Default 2.5 — allows small
diagrams (e.g. Database Designer wizard preview with 1–3 entities) to scale
up enough to fill the pane without looking "lost", while still letting
manual zoom (wheel/pinch) go higher up to maxZoom.
OptionalmaxMaximum height of a node in pixels
OptionalmaxMax visible fields on a node before the "+N more" toggle kicks in.
Default: Infinity when showAllFields is true; when showAllFields is false,
only PK + FK fields are shown regardless of this value.
OptionalmaxMaximum zoom level. Default: 4
OptionalminMinimum zoom level. Default: 0.1
OptionalnodeBase height of each node box in pixels
OptionalnodeWidth of each node box in pixels
OptionalshowWhether to render all non-PK/non-FK fields as well. When true, every field on each node is rendered (PKs first, FKs next, then all other fields in declaration order). Use for "table card" style diagrams where users want to see every column. Defaults to false (classic schema-relationship view: keys only).
OptionalshowWhether to show field details in nodes (PK + FK rows). Defaults to true.
OptionalshowWhether to show the header bar with controls. Default: true
OptionalshowWhether to show a legend explaining colors. Default: false
OptionalshowWhether to show a minimap for navigation. Default: false
OptionalshowWhether to show node count in header. Default: true
OptionalshowWhether to show relationship labels
OptionalshowDraw rounded rectangular bands grouping nodes by schema. Default: true (schema-grid layout only)
OptionalskipSkip the D3 force simulation animation and render immediately. When true, the simulation runs to completion synchronously and nodes are positioned immediately without animation. Default: false
Configuration options for the ERD diagram.