Skip to main content

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)

Uploaded Source

Built Distribution

graph_force-0.1.0-cp311-cp311-manylinux_2_28_x86_64.whl (213.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ 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