Skip to main content

Experimental library to visualize complex networks

Project description

Helios

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

Layout

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

Install

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://github.com/heliosnet/helios-core.git

Usage

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

import numpy as np
import helios

positions = np.array([
  [1,2,3],
  [4,5,6],
  [7,8,9],
  [10,11,12]
],dtype=np.float32);

edges = np.array([
  [0,1],
  [2,3]
],dtype=np.uint64);

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):
  helios.layout(edges,positions,speeds);
  print(positions);

References

[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.7.tar.gz (59.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

helios-0.1.7-cp38-cp38-win_amd64.whl (91.0 kB view details)

Uploaded CPython 3.8Windows x86-64

helios-0.1.7-cp37-cp37m-win_amd64.whl (91.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

helios-0.1.7-cp37-cp37m-macosx_10_9_x86_64.whl (58.3 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

helios-0.1.7-cp36-cp36m-win_amd64.whl (91.0 kB view details)

Uploaded CPython 3.6mWindows x86-64

helios-0.1.7-cp35-cp35m-win_amd64.whl (90.2 kB view details)

Uploaded CPython 3.5mWindows x86-64

File details

Details for the file helios-0.1.7.tar.gz.

File metadata

  • Download URL: helios-0.1.7.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for helios-0.1.7.tar.gz
Algorithm Hash digest
SHA256 65e6901a1c1a044e4b4151c50230810d570d2ee306415d65678df9e2a04d80ea
MD5 da4bdc4f5ddc42aeed62bd677cd89846
BLAKE2b-256 627a0978cb37d8ddbadd29d0b366e303bf39b8ca1688f13619a46c94e3e452d8

See more details on using hashes here.

File details

Details for the file helios-0.1.7-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: helios-0.1.7-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 91.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for helios-0.1.7-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 631fd945d2ee65d5bafa991e424423871bc4ff099e1153a668098572871f4f4c
MD5 e2c396e080c467b5ece112697398a863
BLAKE2b-256 dd88ac857b54eeb8b259298974ca5706aaba042b5ecbdfbaa8c19fc5022f4c1d

See more details on using hashes here.

File details

Details for the file helios-0.1.7-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: helios-0.1.7-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 91.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for helios-0.1.7-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 cbc3a603a8b158be6785985aab6b9e98654594629825ddb9f43f170faae53a37
MD5 056ad36b901f40c933a3ae44d46e8cc2
BLAKE2b-256 f538a05bb7892b8402a45a8e181a356a6c273d43d2c393fea19fc9fe045a9349

See more details on using hashes here.

File details

Details for the file helios-0.1.7-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: helios-0.1.7-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 58.3 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for helios-0.1.7-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bd09a0d13fc1009671b6a2e17a78fca39bd041ecc4aef606c187b61d2362df67
MD5 0ee054cce21f67bf0f29b96e842618c7
BLAKE2b-256 892c7877703526536f5be36cbf87b2bcef9f67c7c99939220c9ffe564f41c37c

See more details on using hashes here.

File details

Details for the file helios-0.1.7-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: helios-0.1.7-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 91.0 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for helios-0.1.7-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 896be1d7ece075fcc5774394afa5f0dde1c86f314b1194347d50dcbdb7779329
MD5 bf84ea73876d9016750605a9ada7f14a
BLAKE2b-256 63325157da9ddc07aaa3ce3e7bd69cce9e8f705572a65bd7f6400b277dc6c2b0

See more details on using hashes here.

File details

Details for the file helios-0.1.7-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: helios-0.1.7-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 90.2 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for helios-0.1.7-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b7011171447eb26a4c707bf14ef7b6d08554afe7d0891d5acfb54f3be5053e60
MD5 2fd28a0f8c500c9f2d938ee3d6470e99
BLAKE2b-256 b9f6f697f39f65bc6ec1082fb7e77c0ad19b4955f82f6f87bb45e7037fb431b8

See more details on using hashes here.

Supported by

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