render_async.d.ts 357 B

12345678
  1. import type { RenderOptions } from "./types";
  2. /**
  3. * Renders a DOT graph to the specified format.
  4. * @param src DOT representation of the graph to render.
  5. * @param options Options for the rendering engine.
  6. * @returns Raw output of Graphviz as a string.
  7. */
  8. export default function renderStringAsync(src: string, options?: RenderOptions): Promise<string>;