If a matrix is used as input, its dimension names must be a subset of the
nodes in the nodeset as defined with the defineNodes()
and the order of
the labels in rows and columns must correspond to the order of node labels
in the nodeset.
The matrix can be directed or undirected (as specified with the
directed
argument).
If the network is updated over time (e.g., a new wave of friendship data is
collected), these changes can be added with the linkEvents()
- similar to
link changing attribute events to a nodeset.
This time, the user needs to provide the network and the associated nodeset.
If no matrix is provided, goldfish only considers the nodeset and assumes
the initial state to be empty (i.e., a matrix containing only 0s).