helios.layouts.base¶
Network Layout Abstract Classes
This module provides a set of abstract classes to deal with different network layouts algorithms using different communication strategies.
Functions
Classes
- class helios.layouts.base.NetworkLayoutIPCRender(network_draw, edges, weights=None)[source]¶
An abstract class which reads the network information and creates the shared memory resources.
- Parameters
network_draw (NetworkDraw) – A NetworkDraw object which will be used to draw the network
edges (ndarray) – a bi-dimensional array with the edges list
weights (array, optional) – a one-dimensional array with the edge weights
- class helios.layouts.base.NetworkLayoutIPCServerCalc(num_nodes, num_edges, edges_buffer_name, positions_buffer_name, info_buffer_name, weights_buffer_name=None, dimension=3, snaphosts_buffer_name=None, num_snapshots=0)[source]¶
An abstract class which reads the network information from the shared memory resources.
This should be used inside of a subprocess which will update the network layout positions