@ts-graphviz/adapter
Version:
Graphviz Runtime adapters for Cross Platform
9 lines (8 loc) • 415 B
TypeScript
import { Layout, Options } from './types.js';
/**
* createCommandAndArgs creates a command and an array of arguments, based on the given {@link Options}.
*
* @param options Options to create the command and args from.
* @returns A tuple containing the command and an array of arguments.
*/
export declare function createCommandAndArgs<T extends Layout>(options: Options<T>): [command: string, args: string[]];