render_sync.d.ts 388 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 renderStringSync(src: string, { format, engine, files, images, yInvert, nop, }?: RenderOptions): string;