Natural Preference for Minification
Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Install

npm i dotmatrix

DownloadsWeekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

236 MB

Total Files

8

Last publish

Collaborators

  • avatar