<commit_before># ngraph.fromdot

Loads dot file format into ngraph

# usage

``` javascript
var load = require('ngraph.fromdot');

// you can load empty graph:
var emptyGraph = load('graph G {}');

// or graph with edges only:
var twoEdgesGraph = load('graph G { a -> b }');

// above graph is the same as
var sameAsAbove = load('graph G { a; b; a -> b }');

// you can also "append" to existing graph if you wish so:
load('graph B { a -> b }', emptyGraph);

// now emptyGraph is no longer empty:
emptyGraph.getLinksCount(); // returns 1
emptyGraph.getNodesCount(); // returns 2
```

# install

With [npm](https://npmjs.org) do:

```
npm install ngraph.fromdot
```

# license

MIT<commit_msg>to be more pedantic<commit_after># ngraph.fromdot

Loads dot file format into ngraph

# usage

``` javascript
var load = require('ngraph.fromdot');

// you can load empty graph:
var emptyGraph = load('digraph G {}');

// or graph with edges only:
var twoEdgesGraph = load('digraph G { a -> b }');

// above graph is the same as
var sameAsAbove = load('digraph G { a; b; a -> b }');

// you can also "append" to existing graph if you wish so:
load('digraph B { a -> b }', emptyGraph);

// now emptyGraph is no longer empty:
emptyGraph.getLinksCount(); // returns 1
emptyGraph.getNodesCount(); // returns 2
```

# install

With [npm](https://npmjs.org) do:

```
npm install ngraph.fromdot
```

# license

MIT
{'fraction_non_alphanumeric': 0.15021459227467812, 'fraction_numerical': 0.002861230329041488, 'mean_word_length': 3.6324503311258276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2382440', 'n_tokens_mistral': 481, 'n_tokens_neox': 454, 'n_words': 170}