tnetwork.ComScenario.BIRTH

ComScenario.BIRTH(size: int, label: str = None, **kwargs)[source]

Creates a new community

Parameters:
  • size – number of nodes to create
  • label – label of the community (default will create a random label)
Returns:

the community created (community object)