UNPKG

@thi.ng/rstream-dot

Version:

Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies

14 lines 668 B
import type { ISubscribable } from "@thi.ng/rstream"; import type { DotOpts, TraversalState } from "./api.js"; export * from "./api.js"; export declare const traverse: (subs: ISubscribable<any>[], opts?: Partial<DotOpts>, state?: TraversalState) => TraversalState; export declare const toDot: (state: TraversalState, opts?: Partial<DotOpts>) => string; /** * Syntax sugar for the composition {@link traverse} and {@link toDot}, * serializing the traversable graph topology to Graphviz DOT format. * * @param subs * @param opts */ export declare const serialize: (subs: ISubscribable<any>[], opts?: Partial<DotOpts>) => string; //# sourceMappingURL=index.d.ts.map