import { VariantGraphBase } from "https://deno.land/x/rimbu@1.0.0/graph/custom/common/index.ts";
Interfaces
Utility interface that provides higher-kinded types for this collection. |
import { type VariantGraphBase } from "https://deno.land/x/rimbu@1.0.0/graph/custom/common/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 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 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.