Initialise a graph.

sigmajs(type = "canvas", width = "100%", height = NULL,
  elementId = NULL)

Arguments

type

Renderer type, one of canvas, webgl or svg.

width, height

Dimensions of graph.

elementId

Id of elment.

Note

Keep width at 100% for a responsive visualisation.