The LinkGraph class is a wrapper of networkx.Graph, which treats links as edges between objects or nodes (e.g. GCF, spectrum) while the scoring data of the links is treated as the attributes of the edges in the graph. This graph data structure can perfectly replace the legacy ObjectLink and LinkCollection classes.
The
LinkGraph
class is a wrapper ofnetworkx.Graph
, which treats links as edges between objects or nodes (e.g. GCF, spectrum) while the scoring data of the links is treated as the attributes of the edges in the graph. This graph data structure can perfectly replace the legacy ObjectLink and LinkCollection classes.