Metadata-Version: 2.4
Name: scigraphs-engine
Version: 0.2.0
Summary: Blender-free graph visualization engine: filters, backbones, bundling, PNG render.
Author: José Marín
License: MIT License
        
        Copyright (c) 2026 José Marín
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/SciBlend/SciGraphs
Project-URL: Repository, https://github.com/SciBlend/SciGraphs
Project-URL: Issues, https://github.com/SciBlend/SciGraphs/issues
Project-URL: Documentation, https://github.com/SciBlend/SciGraphs/tree/main/docs
Keywords: graph,network,visualization,rendering,layout
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.23
Provides-Extra: igraph
Requires-Dist: python-igraph>=0.10; extra == "igraph"
Provides-Extra: scipy
Requires-Dist: scipy>=1.9; extra == "scipy"
Provides-Extra: networkx
Requires-Dist: networkx>=2.8; extra == "networkx"
Provides-Extra: all
Requires-Dist: python-igraph>=0.10; extra == "all"
Requires-Dist: scipy>=1.9; extra == "all"
Requires-Dist: networkx>=2.8; extra == "all"
Provides-Extra: wgpu
Requires-Dist: wgpu>=0.32; extra == "wgpu"
Requires-Dist: pillow>=9; extra == "wgpu"
Dynamic: license-file

# 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.

```python
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 `MeshSpec`s that name their shader as a
string, so any renderer can draw them. The GPU half is an optional extra.

## Install

```bash
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

```bash
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.
