module Rigor::ModuleGraph
The +rigor-module-graph+ gem’s public API. See the README for an overview and Rigor::ModuleGraph::CLI for the CLI surface.
Constants
- ASSOCIATION_KINDS
-
Subset of
EDGE_KINDSthat represent Rails ActiveRecord associations. Used by the class diagram renderer to attach cardinality labels, and by callers that want to filter the set as a group. - EDGE_CONFIDENCES
-
The list of valid +confidence+ values for an
Edge. - EDGE_KINDS
-
The list of valid +kind+ values for an
Edge. - NODE_ACCESSES
-
Access flavours for an +attr_*+ macro. Used to label attribute glyphs in a class diagram and nothing else.
- NODE_KINDS
-
Kinds of node metadata the plugin emits. Class and module declarations carry the class itself; the remaining kinds are children of one — methods and attributes.
- NODE_VISIBILITIES
-
Visibility values for a method / attribute. Matches the Ruby access modifiers.
- STRUCTURAL_KINDS
-
The structural / mixin kinds — the “first class” relations of a typical dependency graph. const_ref and associations sit outside this set.
- VERSION
-
The installed gem version.