module Rigor::ModuleGraph::Dot

Renders an array of Edges as a Graphviz DOT document.

Style decisions (per docs/plan.md “グラフモデル”): - rankdir=LR for readability of inheritance towers - inherits: thick solid - include: solid - prepend: solid, distinct color - extend: dashed - const_ref: faded dotted

When collapse: is given, every node whose fully-qualified name sits under one of the listed prefixes is wrapped in a subgraph cluster_<prefix> block, and the prefix is stripped from the visible label. Edges across clusters render normally; Graphviz routes them between the cluster boundaries.