menu
kalil_utils package
documentation
graph.dart
Graph<T, Node extends GraphNode<T>> class
Graph<T, Node extends GraphNode<T>> class
dark_mode
light_mode
Graph<
T
,
Node extends GraphNode<
T
>
>
class
abstract
Implementers
NodesGraph
RootGraph
Constructors
Graph
()
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
map
<
T1 extends
Object
,
NewNode extends
GraphNode
<
T1
>
>
(
NewNode
createNode
(
T
)
)
→
Graph
<
T1
,
NewNode
>
Map every node in the graph to an new node type. It may be used for converting from one specialized
GraphNode
implementation to another, or for converting each
GraphNode
value from type
T
to type
NewT
for example.
nodes
(
)
→
Iterable
<
Node
>
Get an iterable of every
Node
in the graph. Every node will be emitted exactly once.
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
kalil_utils package
documentation
graph
Graph<T, Node extends GraphNode<T>> class
kalil_utils.graph library