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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file helios-0.1.8.tar.gz.
File metadata
- Download URL: helios-0.1.8.tar.gz
- Upload date:
- Size: 61.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46faebc32ea4c305a7d79ba06bb79f4401b84ffa0d4edbd1e7346531f5d52149
|
|
| MD5 |
1654ef8048ee5b7a6bfe91532b552976
|
|
| BLAKE2b-256 |
09e8b8cc98a080fe090c06d811b9b076a2895b9489390d716c4d1fab5f8c8b7d
|
File details
Details for the file helios-0.1.8-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: helios-0.1.8-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 95.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b99a40255fe481fc45850df202101aa1e39a80396141bece29de4e92c79385cc
|
|
| MD5 |
d3c37b832aab95c3c5058099e3d85009
|
|
| BLAKE2b-256 |
2c9ae737f8e3ad44a37600053683c389cbb24292d01ab590ffb7461ecaa30abd
|
File details
Details for the file helios-0.1.8-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: helios-0.1.8-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 58.5 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6eb7be551f16923b6a5f04e9977b34c091953c380e13c2eb18484f34eb31fe06
|
|
| MD5 |
0178cd97fb6674e6d611551a3108c6a9
|
|
| BLAKE2b-256 |
4095e324f7738b21d1a2f8085025f520fd9a8104d0f70dec821c8b8d9288b2ac
|
File details
Details for the file helios-0.1.8-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: helios-0.1.8-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 95.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcdf7d73531dac38fcc464ebe5024e852e30fb6116b4e78cf0d027fe5463891b
|
|
| MD5 |
fcc16f779c13e63443bac623a5dd16e8
|
|
| BLAKE2b-256 |
642e379b0dad67b3b938027b30062526782ae44855fc636f0d57f603b736772f
|
File details
Details for the file helios-0.1.8-cp37-cp37m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: helios-0.1.8-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 58.4 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bfb38ad086ea104a59182e1367a117c5b4208d9744638482c35c6fb4b65bbe2
|
|
| MD5 |
f1763c31ee76756e2096a6ff7d35ce83
|
|
| BLAKE2b-256 |
68c541df105d041ab90901d4d0dbd4cc66e9e5c0ba183f4a9cd54ea0c6b01242
|
File details
Details for the file helios-0.1.8-cp36-cp36m-win_amd64.whl.
File metadata
- Download URL: helios-0.1.8-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 95.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc25f7d5d817018d82e5b8c92a3c4178832ef221a91d115534cdcf1a26bc5956
|
|
| MD5 |
1ce816e5120a9b8aae164fac4d462ddd
|
|
| BLAKE2b-256 |
a5c9e756a9b703b96a9f006ca5caf81f13a74b06da2eb443c30d0540052b50be
|
File details
Details for the file helios-0.1.8-cp36-cp36m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: helios-0.1.8-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 58.4 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6a0cbf9fdc699ce61a0f9c853ea9a751a4293d218b4e19b9e0205a6faa0c93a
|
|
| MD5 |
a07e5462ce0196e67bf19733315b34ac
|
|
| BLAKE2b-256 |
fdf21cb57e8303f3c98204a5a0d83fc3110767992588f0a50834ed4dab5ec7a8
|
File details
Details for the file helios-0.1.8-cp35-cp35m-win_amd64.whl.
File metadata
- Download URL: helios-0.1.8-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 94.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a424b8fafef8cee95874fdc6f0b213843baea4258fb52fa9ede24899edd7c46
|
|
| MD5 |
abdb3f6146b7e74761ee12e29724cc62
|
|
| BLAKE2b-256 |
4a603361db32fe35baa27f5a00b8aef8d5d18e9a97843667c7201a4cc54ba4ba
|
File details
Details for the file helios-0.1.8-cp35-cp35m-macosx_10_6_x86_64.whl.
File metadata
- Download URL: helios-0.1.8-cp35-cp35m-macosx_10_6_x86_64.whl
- Upload date:
- Size: 59.4 kB
- Tags: CPython 3.5m, macOS 10.6+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f39a656ea4930435a1d0aa6a0edbc6d47c139437e57e0c7e2dcca844183fa98d
|
|
| MD5 |
19cdb9486f9a885428b5d74fb6626097
|
|
| BLAKE2b-256 |
4dfd2d179c59ae8cb50c2b5cd52133b7e2e9a13a7ad72f61de74355c26ac4fb5
|