elk 0.1.0 copy "elk: ^0.1.0" to clipboard
elk: ^0.1.0 copied to clipboard

Pure Dart layered graph layout (Sugiyama-style), inspired by the Eclipse Layout Kernel. Compound/hierarchical graphs, ports and orthogonal edge routing, with an elkjs-style graph API. No Flutter, no I [...]

0.1.0 #

  • Initial release.
  • Ports: ElkPort.side / ElkPortSide; edges may reference port ids and attach at computed border points (ElkPositionedNode.ports).
  • elkjs JSON ingestion: ElkGraph.fromJson (and fromJson on nodes/edges/ ports/labels) parse the elkjs graph JSON shape.
  • Validation harness (tool/validation/) comparing structural agreement against real elkjs.
  • ELK-style layered layout: cycle breaking, network-simplex layering, crossing minimization, Brandes–Köpf coordinate assignment.
  • Orthogonal edge routing with computed bend points and parallel-edge lanes.
  • Compound graphs / clusters with parent-relative result coordinates.
  • ELK spacing model (spacing.baseValue), model order constraints, and Brandes–Köpf fixed-alignment options.
  • elkjs-style graph API (ElkGraph / ElkNode / ElkEdgeElkResult).
0
likes
130
points
8
downloads

Documentation

API reference

Publisher

verified publisherroszkowski.dev

Weekly Downloads

Pure Dart layered graph layout (Sugiyama-style), inspired by the Eclipse Layout Kernel. Compound/hierarchical graphs, ports and orthogonal edge routing, with an elkjs-style graph API. No Flutter, no I/O — runs anywhere.

Repository (GitHub)
View/report issues

Topics

#layout #graph #elk #diagram #visualization

License

unknown (license)

Dependencies

meta

More

Packages that depend on elk