react xyflow for pyiron
Project description
pyironFlow
Visual Programming Interface
The visual programmming interface pyironflow
or PyironFlow
is a gui skin based on ReactFlow that currently works on top of pyiron_workflow
. Theoretically, one could currently pack pyiron_base
jobs into nodes for execution. The gui could also be extended to pack the workflow graph (extracted from the gui using get_workflow()
) into a pyiron_base
job for execution. An existing code-based workflow graph can be packed into the gui using PyironFlow([wf])
where wf is the existing graph.
Example of a multiscale simulation
Problem definition:
Constructing the workflow:
Execution:
Viewing source code:
Visualization of FEM meshes using PyVista:
Atomistic sub-workflow:
Continuum sub-workflow:
Planned/desired/in-development features
- Dynamically add nodes from the notebook to the node library (currently being polished by Julius Mittler)
- Dynamically make macros from the gui using a box selection and add them to the node library (currently in development by Julius Mittler)
- Automatic positioning of nodes in a nice way on (re-)instantiation (current positioning is passable, but room for improvement exists)
- Caching based on a hash-based storage. Currently caching does not work at all in the gui since the workflow graph is reinstantiated everytime there's a change in the gui. This could be theoretically fixed by comparing the dictionary of the existing workflow to the new dictionary from the gui. But this would be a painstaking process and easily broken. A better way would be to work with a hash-based storage which would reload outputs when the inputs of a node have not changed. However this would have to be implemented in
pyiron_workflow
and not in the gui side of things. - Edit the source code of nodes from within the gui. Maybe something that uses the FileReader api. Need to look into this further.
See the demo.ipynb jupyter notebook for brief discussion of the key ideas, the link to pyiron_workflows and a few toy application of the xyflow project.
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
Built Distribution
File details
Details for the file pyironflow-0.0.4.tar.gz
.
File metadata
- Download URL: pyironflow-0.0.4.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72c3983d830c8c1b13172832ec9106d08f0efe17f9e6ba9258187ebcaf23098 |
|
MD5 | 89d23e1bc439681fa064f161ab64b45a |
|
BLAKE2b-256 | 52f129eef045e8aa638bdf7bf02b5ba3fa0af646d30491da1c7a0ffeaf77519a |
Provenance
The following attestation bundles were made for pyironflow-0.0.4.tar.gz
:
Publisher:
deploy.yml
on pyiron/pyironFlow
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pyironflow-0.0.4.tar.gz
- Subject digest:
c72c3983d830c8c1b13172832ec9106d08f0efe17f9e6ba9258187ebcaf23098
- Sigstore transparency entry: 149477787
- Sigstore integration time:
- Predicate type:
File details
Details for the file pyironflow-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pyironflow-0.0.4-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9738695d666aaed4e3ec614c1c2755bebec6d335766c3e36c2dad90cbb2e3baa |
|
MD5 | d38beec8b8cdcdebb21db060c8b40665 |
|
BLAKE2b-256 | 7a999e39dc9e9f6ea51baadf3480bb267b3faa9abe9bb251ea6a4576e745e9a8 |
Provenance
The following attestation bundles were made for pyironflow-0.0.4-py3-none-any.whl
:
Publisher:
deploy.yml
on pyiron/pyironFlow
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pyironflow-0.0.4-py3-none-any.whl
- Subject digest:
9738695d666aaed4e3ec614c1c2755bebec6d335766c3e36c2dad90cbb2e3baa
- Sigstore transparency entry: 149477788
- Sigstore integration time:
- Predicate type: