dotmatrix

1.0.0 • Public • Published

DOTMATRIX

This converts a DOT file to an adjacency matrix.

Example usage:

First, include the dotmatrix module. Then, call dotmatrix.convert_dot_file_to_matrix. The first argument is the path to the target dot file, and the second argument is a callback function to process the results.

e.g.

const dotmatrix = require('./dotmatrix.js');
const dot_path = process.argv[2];

dotmatrix.convert_dot_file_to_matrix(dot_path, (matrix) => {
  console.log(matrix);
});

Readme

Keywords

Package Sidebar

Install

npm i dotmatrix

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

236 MB

Total Files

8

Last publish

Collaborators

  • ps.musgrave