<commit_before>Bab RabbitMqGraph - Represent your RabbitMQ as a graph
======================================================

Usage
-----

This library allow you to create Dot Graph from your RabbitMQ definitions:

```php
$client = new Bab\RabbitMqGraph\Client();
$definitions = $client->getDefinitions();
$graph = new Bab\RabbitMqGraph\Graph($definitions);

echo $graph->render();
```

To render the graph (in png for example):

```bash
php samples/00-basic.php > target/graph.dot
dot -Tpng -otarget/graph.png target/graph.dot
```

For more information about the DOT command, please see the
[Man page](http://www.graphviz.org/cgi-bin/man?dot)

Requirements
------------

- PHP 5.3
- [optional] PHPUnit 3.5+ to execute test suite

Author
------

<NAME> - <<EMAIL>> - <http://odolbeau.fr><br />

License
-------

Bab RabbitMqGraph is licensed under the MIT License - see the `LICENSE` file
for details<commit_msg>Add one line example in README<commit_after>Bab RabbitMqGraph - Represent your RabbitMQ as a graph
======================================================

Usage
-----

This library allow you to create Dot Graph from your RabbitMQ definitions:

```php
$client = new Bab\RabbitMqGraph\Client();
$definitions = $client->getDefinitions();
$graph = new Bab\RabbitMqGraph\Graph($definitions);

echo $graph->render();
```

To render the graph (in png for example):

```bash
php samples/00-basic.php > target/graph.dot
dot -Tpng -otarget/graph.png target/graph.dot

# One line
php samples/00-basic.php > target/graph.dot && dot -Tpng -otarget/graph.png target/graph.dot && open target/graph.png
```

For more information about the DOT command, please see the
[Man page](http://www.graphviz.org/cgi-bin/man?dot)

Requirements
------------

- PHP 5.3
- [optional] PHPUnit 3.5+ to execute test suite

Author
------

<NAME> - <<EMAIL>> - <http://odolbeau.fr><br />

License
-------

Bab RabbitMqGraph is licensed under the MIT License - see the `LICENSE` file
for details
{'fraction_non_alphanumeric': 0.19837645865043124, 'fraction_numerical': 0.007102993404363267, 'mean_word_length': 3.869135802469136, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 20, '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': '3536004', 'n_tokens_mistral': 650, 'n_tokens_neox': 596, 'n_words': 193}