Hi, I would like to draw all edges of a graph using dash lines. I use the following code : gt.graph_draw(g.g, vertex_text=g.vprop_nickname, vertex_font_size=18, edge_end_marker="square", edge_dash_style = [10.0,10.0,0.0], output="graph.svg") but get only plain lines for edges... Any clue ? -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 02/12/2013 10:23 PM, rbarzic wrote:
Hi,
I would like to draw all edges of a graph using dash lines. I use the following code :
gt.graph_draw(g.g, vertex_text=g.vprop_nickname, vertex_font_size=18, edge_end_marker="square", edge_dash_style = [10.0,10.0,0.0], output="graph.svg")
but get only plain lines for edges...
Any clue ?
Most likely the dash length is simply too long. Try something like [1, 1, 0] or [.1, .1, 0]. -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
rbarzic -
Tiago de Paula Peixoto