Function: createGraph()
ts
function createGraph(opts?: CreateGraphOptions): GvGraphBuilder;Defined in: api/builder.ts:274
Create a new programmatic graph builder.
The builder's .graph is a fresh Graph ready for handoff to layout/render. Defaults: directed=true, strict=false, name=''.
Parameters
opts?
Returns
See
lib/cgraph/graph.c:agopen