topology#

Topology mutation policies.

Modules

add_edge(source, target, *[, symmetric, strict])

Add an edge if both endpoints exist.

add_node(node_id, *[, strict])

Add a node if it is missing.

churn(*[, remove_probability, ...])

Randomly remove existing nodes and add candidate nodes.

remove_node(node_id, *[, missing])

Remove a node.

rewire(edge_ids, *[, probability])

Rewire selected edges to random targets.