neko.core.network.Network.connect_nodes
- Network.connect_nodes(only_signed: bool = False, consensus_only: bool = False) None
Basic node connections. It adds all the interactions found in the omnipath database. Once an interaction is found it will be added to the list of edges. The only_signed flag makes sure that just signed interaction will be added to the network, while “consensus_only” makes sure that just signed interaction with consensus among references will be included.
- Args:
only_signed: A boolean flag indicating whether to only add signed interactions to the network.
- consensus_only: A boolean flag indicating whether to only add signed interactions with consensus among
references to the network.
- Returns:
None