circular signed graph
circular graph with positive and negative edges.
graph_circular_signed(n, r = 1, pos = 0.1, neg = 0.1)
n
: number of nodesr
: radiuspos
: distance fraction between positive edgesneg
: distance fraction between negative edgesigraph graph
library(igraph) graph_circular_signed(n = 50)
David Schoch
Useful links