opusonesolutions / asciigraf

A python library for making ascii-art into network graphs.
MIT License
36 stars 6 forks source link

Support for edge modifiers #25

Open AnjoMan opened 6 years ago

AnjoMan commented 6 years ago

It would be valuable to be able to mark an edge with a modifier. E.G. in the below graph, the edge (n2, n3) has an arrow modifier which could be used to make a directed graph, or to modify the significance of the edge in some other way.

     n1---------n2
                ^
                |
                n3

We already support edge labels such as n1---(label_1)---n2 but this change would allow the user to have modifiers and labels on the same edge

`n1<---(edge_3)--->n2