import { VariantGraphBase } from "https://deno.land/x/rimbu@0.13.5/graph/custom/index.ts";
Interfaces
Utility interface that provides higher-kinded types for this collection. |
import { type VariantGraphBase } from "https://deno.land/x/rimbu@0.13.5/graph/custom/index.ts";
Methods
Returns true if there is at least one node in the collection, and instructs the compiler to treat the collection as a .NonEmpty type.
Returns the collection as a .NonEmpty type
Returns a Stream
containing all graph elements of this collection as single tuples for isolated nodes
and 2-valued tuples of nodes for connections.
Returns a Stream
containing all connections of this collection.
Returns true if the graph has a connection between given node1
and node2
.
Returns a Stream
containing all the connetions from the given node1
Returns a Stream
containing all the connetions to the given node2
Returns the graph with the given node
and all its connections removed.
Returns the graph with all nodes in given nodes
stream removed, together with all their
connections.
Returns the graph with the connection between given node1
and node2
removed if it exists.
Returns the graph with all connections in given links
removed if they exist.
Returns the graph with all isolated nodes removed.