Node class

Dart files are represented as nodes in a directed graph. See the README for more details about each node metric.

Constructors

Node(String id, String label, {bool showNodeMetrics = false})
Constructor.

Properties

cd int?
Component Dependency.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The file path relative to Model.rootDir.
getter/setter pair
inDegree int?
Number of incoming edges.
getter/setter pair
instability double?
Robert C. Martin's Instability metric.
getter/setter pair
label String
The filename without extension.
getter/setter pair
outDegree int?
Number of outgoing edges.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showNodeMetrics bool
Whether to display node metrics or not.
getter/setter pair
sloc int?
Source Lines of Code.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns this object in JSON format.
toString() String
Returns this object in dot format.
override

Operators

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