Fifteen Diagram Types. One Grammar.
Dhi provides first-class support for the uml dialect (dialect uml;) covering all 14
UML diagram types, plus dialect-free Generic Diagrams—compiled from .dhi source with strict static
validation and deterministic orthogonal layout.
Sequence Diagram
Model time-ordered interactions, lifelines, activation frames, parallel blocks, and conditional branches with compile-time participant validation.
Activity Diagram
Describe procedural workflows, swimlane partitions, object buffers, fork/join concurrency, and guarded control flows.
State Machine
Specify finite and hierarchical state machines with typed events, entry/exit/run hooks, fork/join bars, and orthogonal regions.
Class Diagram
Design strongly-typed domain models with classes, interfaces, records, enums, generics, visibility modifiers, and UML relationships.
Component Diagram
Architect modular software components with explicit provided/required interface ports, assembly wiring, and deployment artifacts.
Deployment Diagram
Map physical and cloud execution topologies with nested nodes, runtime environments, artifacts, and encrypted communication paths.
Generic Diagram
Build arbitrary architecture, cloud, and system topology graphs without UML-specific ceremony using rich geometric shapes and groups.
Object Diagram
Capture concrete runtime snapshots of class instances, field slot values, and active object links at a specific point in execution.
Package Diagram
Visualize namespace organization, layered architecture boundaries, and import/merge dependencies across modules.
Composite Structure
Inspect the internal runtime wiring of a structured classifier with parts, ports, and delegation/assembly connectors.
Use Case Diagram
Capture functional requirements, external actors, system scope boundaries, and include/extend use case relationships.
Profile Diagram
Extend UML semantics for domain-specific modeling by defining custom stereotypes, metaclasses, and tagged attributes.
Communication Diagram
Emphasize structural links between collaborating objects alongside sequenced message numbering.
Interaction Overview
Combine activity-style control flow with interaction references to orchestrate complex multi-scenario workflows.
Timing Diagram
Model hardware/protocol state changes along an explicit time axis with signal transitions and duration constraints.