scigraphs-engine
Graph visualization as a plain Python package. Coordinates, an edge list and whatever attributes they carry go in; geometry or pixels come out, with 26 filter channels, structural sparsification, edge-style tessellation and hierarchical bundling in between.
from scigraphs_engine import Graph
g = Graph.from_arrays(coords, edges)
g = g.filter(core__gte=0.5).simplify(backbone="disparity", alpha=0.05)
g.style(edges="bundled").render(size=(1920, 1080)).save("out.png")
Nothing in this package imports bpy, gpu, bmesh or mathutils. The
compute half needs only numpy, and Graph.geometry() runs with no graphics
library installed at all, returning MeshSpecs that name their shader as a
string, so any renderer can draw them. The GPU half is an optional extra.
Install
pip install scigraphs-engine # numpy only
pip install "scigraphs-engine[igraph]" # coreness, PageRank, betweenness, bridges
pip install "scigraphs-engine[scipy]" # components, hop distance, crowding
pip install "scigraphs-engine[wgpu]" # render() to pixels
pip install "scigraphs-engine[all]" # everything
Requires Python 3.10 or newer. A missing extra makes individual channels
unavailable rather than breaking anything: available_channels() returns all 26
with a reason for each one that cannot run.
Documentation
https://github.com/SciBlend/SciGraphs/tree/main/docs
python engine/scigraphs_engine/tests/run.py # -v for full output
License
MIT, see LICENSE. The SciGraphs Blender add-on is GPLv3 and is one caller of
this package, not its owner. It reaches the package through a shim that prefers
an installed scigraphs_engine over any copy shipped alongside it.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 scigraphs_engine-0.2.0.tar.gz.
File metadata
- Download URL: scigraphs_engine-0.2.0.tar.gz
- Upload date:
- Size: 117.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d34fd88380882e43346db61bf55965f81deceb04b043648b7438c5677c5f689
|
|
| MD5 |
953ec3c86c8c2788fbeede2a08f22842
|
|
| BLAKE2b-256 |
b0324575159e7a8ca6ec9c6bb315afa71831afc68e49638698cc3276fb5e106d
|
Provenance
The following attestation bundles were made for scigraphs_engine-0.2.0.tar.gz:
Publisher:
release-wheels.yml on SciBlend/SciGraphs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scigraphs_engine-0.2.0.tar.gz -
Subject digest:
3d34fd88380882e43346db61bf55965f81deceb04b043648b7438c5677c5f689 - Sigstore transparency entry: 2629316563
- Sigstore integration time:
-
Permalink:
SciBlend/SciGraphs@043de876a581f0aa7977e4603588b23284192811 -
Branch / Tag:
refs/tags/wheels-core-v0.3.0-render-v0.2.0 - Owner: https://github.com/SciBlend
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-wheels.yml@043de876a581f0aa7977e4603588b23284192811 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scigraphs_engine-0.2.0-py3-none-any.whl.
File metadata
- Download URL: scigraphs_engine-0.2.0-py3-none-any.whl
- Upload date:
- Size: 154.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a610172e15b66710ce4ad32b9b3197ece8d123c4796e4a6320a70b0c4f04878d
|
|
| MD5 |
fc27e82388ed0c5eb4dd9a32981ccc5a
|
|
| BLAKE2b-256 |
1cbf8745f9fae401520a314f95c25f8c092dc944ea4c62e371e5a2a52b33baf0
|
Provenance
The following attestation bundles were made for scigraphs_engine-0.2.0-py3-none-any.whl:
Publisher:
release-wheels.yml on SciBlend/SciGraphs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scigraphs_engine-0.2.0-py3-none-any.whl -
Subject digest:
a610172e15b66710ce4ad32b9b3197ece8d123c4796e4a6320a70b0c4f04878d - Sigstore transparency entry: 2629316709
- Sigstore integration time:
-
Permalink:
SciBlend/SciGraphs@043de876a581f0aa7977e4603588b23284192811 -
Branch / Tag:
refs/tags/wheels-core-v0.3.0-render-v0.2.0 - Owner: https://github.com/SciBlend
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-wheels.yml@043de876a581f0aa7977e4603588b23284192811 -
Trigger Event:
push
-
Statement type: