Repository navigation
Releases
scigraphs-core 0.3.1 and scigraphs-engine 0.2.1
Wheels and sdists for scigraphs-core 0.3.1 and scigraphs-engine 0.2.1, built from tag wheels-core-v0.3.1-render-v0.2.1.
These are the same files this tag uploads to PyPI; the
per-distribution install command is below.
numpy is the only hard dependency. Everything else is an
optional extra, and a feature whose extra is absent reports
the extra that would enable it rather than failing to import.
scigraphs-core 0.3.1
Wheel: scigraphs_core-0.3.1-py3-none-any.whl, pure Python, one file for every platform.
Sdist: scigraphs_core-0.3.1.tar.gz.
Built from core/ with pip wheel --no-deps --no-build-isolation,
the same invocation scripts/fetch_wheels.sh uses locally.
Verified on Python 3.12 in a clean virtualenv:
- installed from the wheel, imported as
scigraphs_core, and__version__checked against the tag - both distributions passed
twine check --strict - the functional suite was not in this checkout, so nothing beyond the above was exercised
Install it with:
pip install scigraphs-core==0.3.1
scigraphs-engine 0.2.1
Wheel: scigraphs_engine-0.2.1-py3-none-any.whl, pure Python, one file for every platform.
Sdist: scigraphs_engine-0.2.1.tar.gz.
Built from engine/ with pip wheel --no-deps --no-build-isolation,
the same invocation scripts/fetch_wheels.sh uses locally.
Verified on Python 3.12 in a clean virtualenv:
- installed from the wheel, imported as
scigraphs_engine, and__version__checked against the tag - both distributions passed
twine check --strict engine/scigraphs_engine/tests/run.pyagainst the installed wheel, withtest_render.pyskipped because the runner has no GPU
Install it with:
pip install scigraphs-engine==0.2.1
v.1.2.0
Changelog
1.2.0
Animation
Graphs can move. A list of poses is stored as shape keys, which Blender
evaluates before the modifier stack, so the Geometry Nodes tree instances onto
deformed vertices. Mesh attributes animate too, through a frame-change handler
that is installed when the extension registers and reapplies the current frame
when a file loads, so a saved animation plays in a session that did not author
it.
Node and edge radius can animate through the node_scale and edge_scale
attributes the tree multiplies by. A glyph's radius is a Geometry Nodes default
and Blender will not keyframe one, so a graph with growing nodes used to need
one object per size band.
The .sgraphs file
One file carries topology, motion and appearance. edge rows connect, pos
rows move, node rows declare isolated nodes or attributes, and a meta
header records the format version, what wrote the file, and how many nodes,
edges and stages to expect. Nodes are named rather than numbered, so a file is
not tied to one object's vertex order.
The header lets the reader refuse a file from a newer version instead of
half-reading it, and tell a truncated download from a small graph.
Two panels reach it: Data > Graph + Motion builds a graph from a file, and
Layout > Animation bakes or imports motion for one that already exists.
Baking no longer needs a modal timer, so it works headless.
Drawing
A graph now gets the interactive Geometry Nodes tree by default, with its
inputs seeded from the sizes the object measured rather than factory values.
- The visibility filter reaches edges, not only node instances, so hiding a
node no longer leaves its edges in mid air. - Direction arrows are built from the mesh edge vertices: one per logical edge
however many segments a curved style splits it into, placed anywhere along
the whole edge, with controls for the cone's resolution and how pointed it
is. Arrows are on by default for a directed graph and off otherwise. - Applying an edge style carries the animation through, restyling each stage
around its own node positions. - The node tree lays itself out left to right and groups itself into Shared,
Nodes, Edges and Arrows. - Node size reads its own attribute in the GPU preview. One channel used to feed
both size and colour, so colouring a circle packing by anything at all resized
every circle by that instead. - Circle Packing keeps the radii it solved for and the preview draws them. The
preview's size mapping is affine, so it reproduces a packing exactly only at
one setting; past a spread of 32 the large circles are drawn short of tangency
and the operator says so rather than claiming to be exact.
Fixes
- The Cylinder node shape never worked: the shape switch was built with four
slots for five shapes, so the fifth was wired to a placeholder. - The GPU preview reads vertex positions after shape keys instead of drawing
the rest pose. - Colouring respects
auto_rangerather than resetting a range the caller set. - Layout algorithms read per-edge weights from the mesh.
- Curved edge styles take their offset plane from the layout instead of
assuming Z. - Node names are kept in
node_names. They had been written intonodes_data,
which is paired withedges_dataand must hold vertex indices; the mismatch
made an edge style rebuild the mesh wrongly. - Texture preferences were looked up under a literal add-on name that never
matches an installed extension, so they were silently ignored.
Two builds
scigraphs-utils bundles Graphviz under the Eclipse Public License, which
cannot be combined with the GPL, so the build published on Blender Extensions
leaves it out and the one on GitHub releases keeps it. Without the wheel,
the eight Graphviz engines and Yifan Hu say so in the panel instead of failing.
Platform
- Nothing reaches the network unless Allow Online Access is enabled.
Operators that need it are greyed out; the three that need it only sometimes
refuse on the branch that would connect, so a local GeoTIFF and an
already-cached texture still work offline. - Caches are written through
extension_path_userrather than inside the
add-on directory, which a read-only "System" repository would refuse. filespermission declared alongsidenetwork.- The
3D Viewtag is gone, andbl_infowith it. - The development fallback that put a checkout on
sys.pathis off unless
SCIGRAPHS_DEV_CHECKOUT=1. - duckdb is 1.5.2 on every platform.
Requires Blender 5.1 or newer.
Also, from:
1.1.0
The GPU render engine
A second way of drawing the same graph, chosen per scene. Geometry Nodes
instances real spheres and cylinders, which Cycles and EEVEE can render with
full materials but which the depsgraph limits to a few hundred thousand
elements. The GPU engine builds its own buffers through Blender's gpu module
and stays interactive into the millions, at the cost of not existing at render
time. It also never touches the mesh, since enabling it only hides the native display and
switches the SciGraphs_Viz modifier off.
68 GLSL shaders sit behind it. Edge bundling runs on the GPU ( FDEB, HEB, SBEB, MINGLE
and routed), alongside compute passes for filtering,
edge-style tessellation and force simulation. Also picking and hover, level of
detail, labels that declutter themselves in dense regions, and volume rendering.
Because it goes through Blender's gpu module rather than a graphics API, it
follows whatever backend Blender is configured with, which on a recent clean
install on Windows or Linux is now Vulkan.
Two packages
The analysis and visualization halves were pulled out into plain Python
packages, published on PyPI and bundled as wheels:
scigraphs-core, 76 modules, the graph analysis and mesh construction.scigraphs-engine, 31 modules, the visualization pipeline. Nothing in it
importsbpy,gpu,bmeshormathutils(needs only
numpy), andGraph.geometry()runs with no graphics library installed at all,
returning mesh specs that name their shader as a string.
What remains in the add-on is the Blender layer: operators, panels, properties
and the GPU drawing.
Licensing
The add-on is GPL-3.0-or-later, which the extensions platform requires. The two
wheels are MIT. LICENSES.md states the arrangement in one place.
Also
- Reproducible pipelines: a run can be validated, dropped into the viewport and
replayed. - Edge style presets gained the advanced bundling controls.
- A documentation site built with Quarto, and notebooks covering setup, abstract
graphs, layouts, centrality, paths and topology.
scigraphs-core 0.3.0 and scigraphs-engine 0.2.0
Wheels and sdists for scigraphs-core 0.3.0 and scigraphs-engine 0.2.0, built from tag wheels-core-v0.3.0-render-v0.2.0.
These are the same files this tag uploads to PyPI; the
per-distribution install command is below.
numpy is the only hard dependency. Everything else is an
optional extra, and a feature whose extra is absent reports
the extra that would enable it rather than failing to import.
scigraphs-core 0.3.0
Wheel: scigraphs_core-0.3.0-py3-none-any.whl, pure Python, one file for every platform.
Sdist: scigraphs_core-0.3.0.tar.gz.
Built from core/ with pip wheel --no-deps --no-build-isolation,
the same invocation scripts/fetch_wheels.sh uses locally.
Verified on Python 3.12 in a clean virtualenv:
- installed from the wheel, imported as
scigraphs_core, and__version__checked against the tag - both distributions passed
twine check --strict - the functional suite was not in this checkout, so nothing beyond the above was exercised
Install it with:
pip install scigraphs-core==0.3.0
scigraphs-engine 0.2.0
Wheel: scigraphs_engine-0.2.0-py3-none-any.whl, pure Python, one file for every platform.
Sdist: scigraphs_engine-0.2.0.tar.gz.
Built from engine/ with pip wheel --no-deps --no-build-isolation,
the same invocation scripts/fetch_wheels.sh uses locally.
Verified on Python 3.12 in a clean virtualenv:
- installed from the wheel, imported as
scigraphs_engine, and__version__checked against the tag - both distributions passed
twine check --strict engine/scigraphs_engine/tests/run.pyagainst the installed wheel, withtest_render.pyskipped because the runner has no GPU
Install it with:
pip install scigraphs-engine==0.2.0
scigraphs-core 0.2.1 and scigraphs-engine 0.1.1
Wheels and sdists for scigraphs-core 0.2.1 and scigraphs-engine 0.1.1, built from tag wheels-core-v0.2.1-render-v0.1.1.
These are the same files this tag uploads to PyPI; the
per-distribution install command is below.
numpy is the only hard dependency. Everything else is an
optional extra, and a feature whose extra is absent reports
the extra that would enable it rather than failing to import.
scigraphs-core 0.2.1
Wheel: scigraphs_core-0.2.1-py3-none-any.whl, pure Python, one file for every platform.
Sdist: scigraphs_core-0.2.1.tar.gz.
Built from core/ with pip wheel --no-deps --no-build-isolation,
the same invocation scripts/fetch_wheels.sh uses locally.
Verified on Python 3.12 in a clean virtualenv:
- installed from the wheel, imported as
scigraphs_core, and__version__checked against the tag - both distributions passed
twine check --strict - the functional suite was not in this checkout, so nothing beyond the above was exercised
Install it with:
pip install scigraphs-core==0.2.1
scigraphs-engine 0.1.1
Wheel: scigraphs_engine-0.1.1-py3-none-any.whl, pure Python, one file for every platform.
Sdist: scigraphs_engine-0.1.1.tar.gz.
Built from engine/ with pip wheel --no-deps --no-build-isolation,
the same invocation scripts/fetch_wheels.sh uses locally.
Verified on Python 3.12 in a clean virtualenv:
- installed from the wheel, imported as
scigraphs_engine, and__version__checked against the tag - both distributions passed
twine check --strict engine/scigraphs_engine/tests/run.pyagainst the installed wheel, withtest_render.pyskipped because the runner has no GPU
Install it with:
pip install scigraphs-engine==0.1.1