pkgnet defines several package reporter R6 classes that model
a particular network aspect of a package as a graph. These network
reporter classes are extended from AbstractGraphReporter, which
itself extends the AbstractPackageReporter
with graph-modeling-related functionality.
This article describes the additional fields added by the AbstractGraphReporter class definition.
pkgnet::AbstractPackageReporter -> AbstractGraphReporter
nodesA data.table, containing information about
the nodes of the network the reporter is analyzing. The node
column acts the identifier. Read-only.
edgesA data.table, containing information about
the edge connections of the network the reporter is analyzing. Each
row is one edge, and the columns SOURCE and TARGET
specify the node identifiers. Read-only.
network_measuresA list, containing any measures of the network calculated by the reporter. Read-only.
pkg_grapha graph model object. See DirectedGraph for additional documentation. Read-only.
graph_viza graph visualization object. A
visNetwork::visNetwork object.
Read-only.
layout_typea character string, the current layout type for the graph visualization.
Can be assigned a new valid layout type value. Use use grep("^layout_\\S", getNamespaceExports("igraph"), value = TRUE) to see valid options.