newEdge {mitre} | R Documentation |
Create an empty node
Description
from
: node id of edge start
to
: node id of edge end
from_std
: standard id of edge start
to_std
: standard id of edge end
title
: The title is shown in a pop-up when the mouse moves over the edge.
value
: When a value is set, the nodes will be scaled using the options in the scaling object defined above.
label
: The label of the edge. HTML does not work in here because the network uses HTML5 Canvas.
arrows
: To draw an arrow with default settings a string can be supplied. For example: 'to, from,middle' or 'to;from', any combination with any separating symbol is fine. If you want to control the size of the arrowheads, you can supply an object.
dashes
: When true, the edge will be drawn as a dashed line.
hidden
: When true, the node will not be shown. It will still be part of the physics simulation though!
color
: Color for the node.
hidden
: When true, the node will not be shown. It will still be part of the physics simulation though!
Usage
newEdge()
Value
data.frame