How to use the graphology.MultiDirectedGraph function in graphology

To help you get started, we’ve selected a few graphology examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Yomguithereal / decypher / batch.js View on Github external
function Batch() {

  if (!(this instanceof Batch))
    return new Batch();

  // Properties
  this.graph = new MultiDirectedGraph();
  this.relationshipsToDelete = {};
  this.generateNodeId = createIncrementalId();
  this.generateEdgeId = createIncrementalId();


A robust and multipurpose Graph object for JavaScript.

Latest version published 10 months ago

Package Health Score

73 / 100
Full package analysis