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();
}

graphology

A robust and multipurpose Graph object for JavaScript.

MIT
Latest version published 12 months ago

Package Health Score

76 / 100
Full package analysis