No project description provided
Project description
Graph Force
A python/rust library for embedding graphs in 2D space, using force-directed layouts.
Development
Setup
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Build
maturin develop
Usage
import graph_force
edges = [(0, 1), (1, 2), (2, 3), (3, 0)]
pos = graph_force.layout_from_edge_list(4, edges)
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
graph_force-0.1.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for graph_force-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 342c5acac2c082568b49d1d524e88e26b56eae530d063d73ca93161c574f3b95 |
|
MD5 | 04365362cf7d1973742544938310f9ea |
|
BLAKE2b-256 | b8e44e188292c2c76ae4787309039d63fdf1e02545edc70f029cb5be3d212517 |