/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. */ import { Sequence } from "../resources/set.ts"; export type GraphNodeCallback = (node: G) => boolean; /** * A graph structure for storing relationships between nodes. */ export declare class Graph { /** * Parents of the graph, i.e. upward connections to the graph. */ parents: Sequence; /** * Children of the graph, i.e. downward connections to the graph. */ children: Sequence; /** * Previous siblings of the graph, i.e. leftward connections to the graph. */ readonly previousSiblings: Sequence; /** * Next siblings of the graph, i.e. rightward connections to the graph. */ readonly nextSiblings: Sequence; /** * Phrases identified in the graph, i.e. a sequence of nodes composing a classification. */ readonly phrases: Sequence; get nextSibling(): GraphNode | null; get previousSibling(): GraphNode | null; } //# sourceMappingURL=Graph.d.ts.map