Logo
NeoArc Studio

Diagram Block

Embed architecture diagrams created in NeoArc's diagram editor. Display ERD, swimlanes, process flows, and cloud architecture diagrams directly in your documentation.

Diagram blocks embed diagrams created in NeoArc's diagram editor directly into your documentation pages. Unlike static images, these diagrams are interactive, version-controlled, and automatically styled to match your theme.

When to Use

Block Properties

PropertyRequiredDescription
Diagram PathYesPath to the .diagram.json file
TitleNoOptional title displayed above the diagram

Diagram Types

Diagram Editor Features

FeatureDescription
Cloud IconsIcon libraries from AWS, Azure, GCP, Kubernetes, and more
Shape TypesRectangle, circle, diamond, hexagon, and additional shapes
Auto-layoutELK.js powered automatic diagram arrangement
ERD NavigationClick tables to navigate in large diagrams
Built-in LintingValidate foreign keys and relationships
Export OptionsPNG, SVG, and PDF export for presentations

Linked Presentation Discovery

Diagram blocks automatically discover sibling presentation files and display them in a linked presentations bar below the diagram viewer.

Diagram vs Image Blocks

CapabilityDiagram BlockImage Block
Version ControlFull Git historyImage file only
InteractiveNavigation, zoom, panStatic display
Theme MatchingAutomaticManual
UpdatesEdit directlyRe-export and replace
ValidationBuilt-in lintingNone