I'm looking for a way to implement a partially undirect graph. This is,  graphs where edges can be directed (or not)  and with different type of arrow (>, *, #, etc.).
My problem is that when I try to use undirect grpah from Networkx and stored arrow type as an attribute, I don't find an efficient way to tell networkx if that attribute (type arrorw) is from a to b or from b to a.
Does anyone know how to handle this?
I guess you can use a directed graph and store the direction as an attribute if you don't need to represent that directed graph.
Partially undirect graphs in Networkx