Skip to main content

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.

User guide can be found here.

Installation

conda install -c conda-forge pyironflow

Recommended to be used with JupyterLab: conda install -c conda-forge jupyterlab

Example of a multiscale simulation

Problem definition:

atomistics_to_continuum

Constructing the workflow:

select_nodes

Execution:

view_output

Viewing source code:

view_source

Visualization of FEM meshes using PyVista:

visualize_mesh

Atomistic sub-workflow:

atomistic_part

Continuum sub-workflow:

continuum_part

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.

Binder

Release files for pyironflow 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyironflow 0.1.2
File Size Uploaded
pyironflow-0.1.2.tar.gz 635.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyironflow 0.1.2
File Interpreter ABI Platform
pyironflow-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / pyironflow-0.1.2.tar.gz

Download URL pyironflow-0.1.2.tar.gz
Size 635.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eb3f5835697f760e980433235a103163e7d9d08789918dd55c161439be6b3a73
BLAKE2b-256 checksum
How to use checksums
0355a1d5e93719e7c7d34166eb29e6c3a4ca122350fc2dfb44c86294027a7abc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / pyironflow-0.1.2-py3-none-any.whl

Download URL pyironflow-0.1.2-py3-none-any.whl
Size 601.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ab1281781a8a9308c34043f928b7ff16a82a07332203b8d600525f8e8a6d8bf
BLAKE2b-256 checksum
How to use checksums
f57c5cb650350c9cdd408094a331c1ad2ced4f7750b28b1de136967db1fa6bc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.0

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.19

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page