Import
import { RefGraph } from "@typed/fx";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as RefGraph from "./RefGraph.js";Members
RefGraph.RefGraphA RefGraph is a RefSubject specialized over a Graph.
RefGraph.addEdgeAdd an edge to the graph.
RefGraph.addNodeAdd a node to the graph.
RefGraph.connectedComponentsGet connected components (undirected only).
RefGraph.directedCreates a new empty directed RefGraph.
RefGraph.edgeCountGet the edge count.
RefGraph.filterEdgesFilter edges.
RefGraph.filterNodesFilter nodes.
RefGraph.findEdgeFind an edge matching a predicate.
RefGraph.findNodeFind a node matching a predicate.
RefGraph.getEdgeGet an edge’s data.
RefGraph.getNodeGet a node’s data.
RefGraph.hasEdgeCheck if an edge exists.
RefGraph.hasNodeCheck if a node exists.
RefGraph.isAcyclicCheck if the graph is acyclic.
RefGraph.isBipartiteCheck if the graph is bipartite (undirected only).
RefGraph.makeCreates a new
RefGraphfrom a Graph,Effect, orFx.RefGraph.mapEdgesMap all edge data.
RefGraph.mapNodesMap all node data.
RefGraph.neighborsGet neighbors of a node.
RefGraph.neighborsDirectedGet directed neighbors of a node.
RefGraph.nodeCountGet the node count.
RefGraph.removeEdgeRemove an edge from the graph.
RefGraph.removeNodeRemove a node from the graph.
RefGraph.reverseReverse all edge directions.
RefGraph.stronglyConnectedComponentsGet strongly connected components.
RefGraph.undirectedCreates a new empty undirected RefGraph.
RefGraph.updateEdgeUpdate an edge’s data.
RefGraph.updateNodeUpdate a node’s data.