0

I want to make some customize edges in networkx. These edges should be like those on the column labeled as symbol of the following table (excepting the 13 row):

enter image description here

Anyone can please give some clues in how to build it? Thanks in advance!

UPDATE 1: Looks like graphviz can do that:

graphviz arrow-shapes

look for the Attribute Type Descriptions

But graphviz is based on C instead python, and it go beyond my knowledge. However, networkx can handle with graphviz objects. There should be a doc about this at somewhere...

TylerH
  • 19,065
  • 49
  • 65
  • 86
Ivan Castro
  • 441
  • 1
  • 6
  • 21
  • Is this a question about how to display edges with networkx so that they look like what you've got? Or how to store the edges as different types so that algorithms know how to treat them differently? Simply: is your desired output here a figure that people look at or a data structure that the computer will use? – Joel Apr 30 '15 at 00:20
  • @Joel The first one: display edges and output a figure that people look. – Ivan Castro Apr 30 '15 at 17:50

1 Answers1

0

ummm

G.add_edge('C','D',arrowhead="diamond")

?

Joran Beasley
  • 93,863
  • 11
  • 131
  • 160