Closed briatte closed 9 years ago
Some arguments for nodes, labels and possibly edges might be read from the network object attributes, as in this example that reads the mode.
network
Arguments that could be read from attributes:
weight.method
node.group
node.alpha
node.color
segment.alpha
segment.color
segment.size
get.edge.attribute
label.nodes
label.color
label.alpha
The issue is: how to distinguish network attribute names from colors?
Reading vertex attributes (including the mode) is now implemented in ggnet2.
ggnet2
Some arguments for nodes, labels and possibly edges might be read from the
network
object attributes, as in this example that reads the mode.Arguments that could be read from attributes:
weight.method
(e.g. reading weighted centrality from the nodes)node.group
,node.alpha
,node.color
(would avoid problems when passing color scale values)segment.alpha
,segment.color
andsegment.size
(usingget.edge.attribute
)label.nodes
and new arguments likelabel.color
andlabel.alpha
(yet to be added)The issue is: how to distinguish network attribute names from colors?