Skip to main content

OrgChart Overview

Visualize hierarchical organizational structures with automatic layout and interactions.

Core Conceptsโ€‹

  • Single Parent: Each node has at most one parent
  • Multiple Children: Unlimited children per node
  • Tree Layout: Automatic positioning
  • Interactions: Drag & drop, zoom, pan, collapse

Architectureโ€‹

  • Controller: Manages data and layout
  • Widget: Renders the visualization
  • Model: Your custom data structures

Basic Usageโ€‹

OrgChart<T>(
controller: controller,
builder: (details) => YourNodeWidget(),
isDraggable: true,
linePaint: Paint(),
arrowStyle: SolidGraphArrow(),
)

Use Casesโ€‹

  • Company organizational structures
  • Team hierarchies
  • Project breakdown structures
  • Decision trees
  • File system browsers
  • Menu systems

Next Stepsโ€‹