Metadata-Version: 2.1
Name: l-graph
Version: 0.2
Summary: Python module for working with L-graphs
Home-page: https://github.com/rudanov/lgraph
Author: Dmitry Rudanov
Author-email: rudanov.d@gmail.com
License: UNKNOWN
Description: # lgraph
        Python module for working with L-graphs.
        
        ## Installation
        ```sh
        pip install lgraph
        ```
        
        ## Creating an L-graph
        ```python
        lg = LGraph(3)
        
        lg.add_edge(lg.initial_main.name, '0')
        lg.add_edge('0', '1', label='b', round_trace=')', square_trace='[')
        lg.add_edge('1', '2', label='c', square_trace=']')
        lg.add_edge('2', lg.final_main.name)
        
        lg.add_edge('0', '0', label='a', round_trace='(')
        lg.add_edge('1', '1', label='b', round_trace=')', square_trace='[')
        lg.add_edge('2', '2', label='c', square_trace=']')
        ```
        
        ## Saving and loading using files
        ```python
        lg.save('graph_examples/a^n_b^n_c^n')
        lg.load('graph_examples/a^n_b^n')
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
