v1.0.0
Major Changes
-
5acd7c3Thanks @davidkpiano! - Add graph and edgemodedirectedness, replacing graphtype, and add D2 format support.Graphs now use
mode: 'directed' | 'undirected' | 'bidirectional'as the graph-level default, and edges may override it with their ownmode. Traversal, path, and query logic resolves effective edge mode so mixed directedness works consistently.Adds
@statelyai/graph/d2with parsing and emitting for D2 syntax, including hierarchy, ports, styles, comments, classes, imports, and connector directedness.