Skip to main content
Module

x/darango/mod.ts>Arango#createGraph

An ArangoDB driver for Deno.
Latest
method Arango.prototype.createGraph
import { Arango } from "https://deno.land/x/darango@0.1.6/mod.ts";

Create a graph on this instance.

Parameters

name: string

The name of the graph.

edges: EdgeDefinitions[]

Edge definitions for this graph.

...orphans: string[]

Orphaned vertex collections.

Returns

Promise<Graph>

The created graph.