Metadata-Version: 2.1
Name: grot
Version: 0.2.0
Summary: Graphviz syntax wrapper. Draw graphs with pure python.
Home-page: https://gitlab.com/kamichal/grot
Author: Michal Kaczmarczyk
Author-email: michal.s.kaczmarczyk@gmail.com
Maintainer: Michal Kaczmarczyk
Maintainer-email: michal.s.kaczmarczyk@gmail.com
License: MIT license
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python
Classifier: Topic :: Documentation
Classifier: Topic :: Multimedia :: Graphics :: Presentation
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
License-File: LICENSE

# Grot

**Grot** is a noun and means **arrowhead** in Polish language.

### Makes graphviz usage simpler

Much less headache. Gets you faster into the point.

```python
import os
from grot import Grot

this_dir_path = os.path.dirname(__file__)  # if run in console - remove 'directory' parameter below
out_dir_path = os.path.join(this_dir_path, 'out')

g = Grot(name='example_01', format='png', directory=out_dir_path, graph_attrs={"rankdir": "LR"})

one = g.node("It is\neaiser")
two = g.node("graphs", color="#8a9bac")
ignored = g.node("Node floats when\nunconnected", color="#da3080")

g.edge(one, "to define", two)
g.render()

```

![Rendered graph image](examples/out/example_01.gv.png?raw=true "Grot")

It will generate a `example_01.png` file in current directory.

Refer to tests and examples for more features information.
