Skip to main content

Experimental library to visualize complex networks

Project description


Helios is a python library implemented in C for layouting and visualizing complex networks.


Helios implements a force layout algorithm based on the FR algorithm [1].


Requires python headers and a C11 compatible compiler, such as gcc or clang.

To install it, simply run:

pip install helios

or clone this repository and install it from master by running:

pip install git+git://


Currently only the layout interface is implemented. You can layout a graph by running

import numpy as np
import helios

positions = np.array([

edges = np.array([

positions = np.ascontiguousarray(positions,dtype=np.float32);
edges = np.ascontiguousarray(edges,dtype=np.uint64);
speeds = np.zeros(positions.shape,dtype=np.float32);
speeds = np.ascontiguousarray(speeds,dtype=np.float32);
for i in range(100):


[1] Fruchterman, T. M. J., & Reingold, E. M. (1991). Graph Drawing by Force-Directed Placement. Software: Practice and Experience, 21(11).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helios-0.1.8.tar.gz (61.3 kB view hashes)

Uploaded Source

Built Distributions

helios-0.1.8-cp38-cp38-win_amd64.whl (95.1 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

helios-0.1.8-cp38-cp38-macosx_10_9_x86_64.whl (58.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

helios-0.1.8-cp37-cp37m-win_amd64.whl (95.1 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

helios-0.1.8-cp37-cp37m-macosx_10_9_x86_64.whl (58.4 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

helios-0.1.8-cp36-cp36m-win_amd64.whl (95.1 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

helios-0.1.8-cp36-cp36m-macosx_10_9_x86_64.whl (58.4 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

helios-0.1.8-cp35-cp35m-win_amd64.whl (94.3 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

helios-0.1.8-cp35-cp35m-macosx_10_6_x86_64.whl (59.4 kB view hashes)

Uploaded CPython 3.5m macOS 10.6+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page