chemicalchecker.util.network.network.NetworkxNetwork

class NetworkxNetwork(network)[source]

Bases: object

NetworkxNetwork class.

Network representation with NetworkX. Simple but heavy in memory. Single type of node, single type of edge.

Initialize a NetworkxNetwork instance.

Methods

edges

get_node

has_edge

neighbors

Attributes

nodes