graph_explorer library

Graph Explorer library

Classes

AnyNode<T>
A Node matcher that matches ANY node (always returns true for a match).
Graph<T>
A Graph of Nodes.
GraphNodeStep<T>
A GraphStep with a Node resolved.
GraphScanner<T>
A Graph Path Scanner.
GraphScanResult<T>
GraphStep<T>
A GraphWalker step context.
GraphValueStep<T>
A GraphStep that has only the node value, but without a resolved Node yet. See Graph.populate.
GraphWalker<T>
Graph walker algorithms.
GraphWalkingInstruction<R>
GraphWalkingInstructionOperation<R>
GraphWalkingInstructionResult<R>
GraphWalkingInstructionSetExpansionCounter<R>
GraphWalkingInstructionSetNodesExpansionCounter<R>
MultipleNodesEquals<T>
A multiple Node matcher that uses object equality (== operator).
Node<T>
A Graph Node.
NodeEquals<T>
A Node matcher that uses object equality (== operator).
NodeIO<T>
Interface for an element that have input and output nodes. See Graph and Node.
NodeMatcher<T>
A Node matcher, used by GraphScanner.
NoneNode<T>
A Node matcher that always returns false and never matches a node.

Typedefs

GraphWalkNodeOutputsProvider<T> = Iterable<Node<T>>? Function(GraphNodeStep<T> step, Node<T> node)
GraphWalkNodeOutputsProviderAsync<T> = FutureOr<Iterable<Node<T>>?> Function(GraphNodeStep<T> step, Node<T> node)
GraphWalkNodeProcessor<T, R> = Object? Function(GraphNodeStep<T> step)
GraphWalkNodeProcessorAsync<T, R> = FutureOr<Object?> Function(GraphNodeStep<T> step)
GraphWalkNodeProvider<T> = Node<T>? Function(GraphStep<T> step, T nodeValue)
GraphWalkNodeProviderAsync<T> = FutureOr<Node<T>?> Function(GraphStep<T> step, T nodeValue)
GraphWalkOutputsProvider<T> = Iterable<T>? Function(GraphNodeStep<T> step, T nodeValue)
GraphWalkOutputsProviderAsync<T> = FutureOr<Iterable<T>?> Function(GraphNodeStep<T> step, T nodeValue)
GraphWalkSideBranchProcessor<T, R> = Object? Function(GraphNodeStep<T> step, List<Node<T>> sideBranches)
GraphWalkSideBranchProcessorAsync<T, R> = FutureOr<Object?> Function(GraphNodeStep<T> step, List<Node<T>> sideBranches)
NodesProvider<T> = FutureOr<List<Node<T>>> Function(Graph<T> graph, Node<T> node)