Macaw.Draw.Layout.Swimlanes.Result (macaw_draw v0.1.0)

Copy Markdown View Source

A swimlane drawing (spec/08 §13.3): Macaw.Draw.Layout.Layered.Result's fields, nodes, edges, width, height, crossings and bounded, with lanes, one per lane in order, %{id, x0, y0, x1, y1, label_x, label_y}: the lane's band and its label's center in the header.

Summary

Types

t()

@type t() :: %Macaw.Draw.Layout.Swimlanes.Result{
  bounded: boolean(),
  crossings: number(),
  edges: [map()],
  height: number(),
  lanes: [map()],
  nodes: [map()],
  width: number()
}