ArchitectureGraph class

A semantic graph of all detected components and their dependencies.

Built by GraphBuilder from the flat list of ProviderNodes emitted by the scanner adapters. Downstream intelligence engines operate on this graph.

Constructors

ArchitectureGraph()

Properties

edges List<DependencyEdge>
List of semantic relationships.
final
hashCode int
The hash code for this object.
no setterinherited
nodes Map<String, ProviderNode>
Map of unique component ID to its IR node.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEdge(DependencyEdge edge) → void
Appends edge to the graph.
addNode(String id, ProviderNode node) → void
Registers node under id.
findCycles() List<List<String>>
Detects circular dependencies in the graph.
getDependencies(String nodeId) List<String>
Finds all components that the given node ID depends on.
getDependencyDepth(String nodeId) int
Returns the longest dependency chain reachable from nodeId.
getDependents(String nodeId) List<String>
Finds all components that depend on (watch/read) the given node ID.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited