I am working on igraph trying to make my own visualization of the graph taken from KEGG xml. Now I have a few conditions for my edges for example I have inhibition, activation and binding association (not weighted). Now I want to color the edges differently and I also want the shape of the edges differently for each condition. For example an edge with arrow and green in color for activation. An edge with a vertical lie after edge and red in color for inhibition. And maybe a dotted line for binding association.
Could some body help me with this. I tried using edge.color with ifelse but don’t really know how to use it.