yawning_titan.networks.network_creator.generate_node_positions#

yawning_titan.networks.network_creator.generate_node_positions(matrix)[source]#

Generate a random position for each node and saves it as a dictionary.

Parameters:

matrix – The adjacency matrix for the network.

Returns:

A dictionary of node positions.