Bloccs.Web.Components.Graph (bloccs_web v0.1.0)

Copy Markdown View Source

The shared topology SVG: places one <.hex_glyph> per node and one bezier <path> per edge from a server-computed Bloccs.Web.Topology.Layout. Used by the topology panel (live node state) and the coverage panel (reached/unreached overlay). Pure rendering — no data loading, no layout math.

Summary

Functions

graph(assigns)

Attributes

  • network (:any) (required)
  • states (:map) - Defaults to %{}.
  • reached_edges (:any) - Defaults to nil.