Boxart.Routing.RoutedEdge (Boxart v0.3.1)

Copy Markdown View Source

An edge with its computed path in grid and drawing coordinates.

Summary

Types

t()

@type t() :: %Boxart.Routing.RoutedEdge{
  draw_path: [{integer(), integer()}],
  edge: Boxart.Graph.Edge.t(),
  end_dir: Boxart.Routing.attach_dir(),
  grid_path: [{integer(), integer()}],
  index: non_neg_integer(),
  label: String.t(),
  occupied_cells: MapSet.t({integer(), integer()}),
  start_dir: Boxart.Routing.attach_dir()
}