<commit_before>#pubviz
## Visualize package dependencies in your Dart project

1. Make sure you run `pub install` or `pub update` in your target project directory.
1. Run `pubviz` passing in the target project directory as the only argument
    * `./bin/pubviz.dart ~/source/github/pubviz/`
1. Notice the pretty output:

```
digraph G {

  path [label="path
0.6.5",shape=box]

  pubviz [label="pubviz
",shape=box]
  pubviz -> path [label=">=0.6.5",fontcolor=gray]
  pubviz -> unmodifiable_collection [label=">=0.6.5",fontcolor=gray]
  pubviz -> yaml [label=">=0.6.5",fontcolor=gray]

  unmodifiable_collection [label="unmodifiable_collection
0.6.5",shape=box]

  yaml [label="yaml
0.6.5",shape=box]
}
```

Direct the ouput to a `dot` file: `./bin/pubviz.dart ~/some_dart_project/ > some_dot_file.dot` and use [GraphViz](http://www.graphviz.org/) to generate a PNG.
<commit_msg>updated sample output in readme<commit_after>#pubviz
## Visualize package dependencies in your Dart project

1. Make sure you run `pub install` or `pub update` in your target project directory.
1. Run `pubviz` passing in the target project directory as the only argument
    * `./bin/pubviz.dart ~/pubviz/`
1. Notice the pretty output:

```
digraph G {

  path [label="path
0.6.5",shape=box,margin="0.25,0.15",group=primary];

  pubviz [label="pubviz
0.1.0-dev",fontsize=16,style=bold,shape=box,margin="0.25,0.15",group=primary];
  pubviz -> path [label=">=0.6.5",fontcolor=gray,penwidth=2];
  pubviz -> unmodifiable_collection [label=">=0.6.5",fontcolor=gray,penwidth=2];
  pubviz -> yaml [label=">=0.6.5",fontcolor=gray,penwidth=2];

  unmodifiable_collection [label="unmodifiable_collection
0.6.5",shape=box,margin="0.25,0.15",group=primary];

  yaml [label="yaml
0.6.5",shape=box,margin="0.25,0.15",group=primary];
}
```

Direct the ouput to a `dot` file: `./bin/pubviz.dart ~/some_dart_project/ > some_dot_file.dot` and use [GraphViz](http://www.graphviz.org/) to generate a PNG.

{'fraction_non_alphanumeric': 0.1651376146788991, 'fraction_numerical': 0.03771661569826707, 'mean_word_length': 4.948484848484848, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '580964', 'n_tokens_mistral': 760, 'n_tokens_neox': 732, 'n_words': 170}