Let us say, I have a set of conditions for the edges. For instance, draw an edge if and only if a column value is greater than 1 ? how to do that in igraph?
(g1 <- graph( edges=c("C","A","A","B","B","A","C","B"), directed=T )
can the edges = to a function that dictates the condition and if true, they should draw an edge?
As an example consider:
Source graph:
Result: