Add a new edge to a visNetwork edge dataframe
add_edge(
edgedf,
id,
label,
to,
from,
type,
parameter,
penalty,
K = Inf,
a = 0,
min = NA,
max = NA,
selfReference.angle = NA,
selfReference.size = 40,
hidden = FALSE,
color = "black"
)
a dataframe containing the edges.
edge id
edge label
Where does the edge go to?
Where does the edge come from?
What type of edge?
parameter: gap, etc.
edge penalty
K (see gfpop)
a (see gfpop)
min (see gfpop)
max (see gfpop)
The angle of this edge, if it's recursive
The length of this edge, if it's recursive
Is this edge hidden?
edge color
a dataframe with one more row than edgedf