Update Graph to encode strictness behaviour#6
Update Graph to encode strictness behaviour#6swapnilraj wants to merge 5 commits intocsicar:masterfrom
Conversation
|
Sorry for taking so long. I'm not sure, if I already asked, but is there a reason to have What does |
|
In my case, I am generating the edges instead of statically making the graph. Even though I could check in my code but I find it easier if graphviz handles it for me. Irrespective of it, its just better for the library to have support for more graphviz attributers to encode. Strict: This forbids the creation of multi-edges, i.e., there can be at most one edge with a given tail node and head node in the directed case. |
|
I see, I guess that's a good reason ;) If you don't mind, I would move Basically: DiGraph [
global [ strict ]
...
]instead of DiGraph Strict [
...
]Also: Thanks for the contribution, always happy to get new ones :) |
Add a strict constructor to graph to encode strictness behaviour.
Implemented combinators to make it easy to migrate.
https://www.graphviz.org/doc/info/lang.html