for my thesis, I need to draw some probabilistic graphs of control flow. that is, control flow charts with probabilities depicted at the edges.
I found a graphical tool that seems very useful, as it can use deep copies of existing graphs, and my graphs are very similar.
So my question is, is it possible to draw edge properties (or some lines) on / next to the edges? If this is impossible or very difficult, is there a tool that is better to use in this case?
Edit: I need directional edges that can create loops between two nodes and have different values. Is there any opportunity for this? So I see both meanings? Currently I see a directed graph with a bi-directional edge, but there is only one value on it.
So, for example, in networkx (in the Hooked link) it will look like this:
G = nx.MultiDiGraph() G.add_edge(0,1) G.add_edge(1,0) labels = {(0,1):'foo', (1,0):'bar'}
So, both "foo" and "bar" are visible, and you can see in which direction they are connected.
But as networkx does this, I get 1 bi-directional edge with 1 label.
Dominik g
source share