UNPKG

graph-builder

Version:

A graph builder library for modeling abstract graph structures.

18 lines (17 loc) 644 B
import { ElementOrder } from "./ElementOrder"; /** * A base class for builders that construct graphs with user-defined properties. */ export declare abstract class AbstractGraphBuilder<N> { directedValue: boolean; allowsSelfLoopsValue: boolean; nodeOrderValue: ElementOrder<N>; expectedNodeCountValue?: number; /** * Creates a new instance with the specified edge directionality. * * @param directed if true, creates an instance for graphs whose edges are each directed; if * false, creates an instance for graphs whose edges are each undirected. */ constructor(directedValue: boolean); }