ObjektViz is a visualizer for object-centric process models that enables users to explore and analyze even _very complex_ processes involving multiple interacting objects
Project description
📦 ObjektViz
ObjektViz is a visualizer for object-centric process models that enables users to explore and analyze even very complex processes involving multiple interacting objects.
Features
- 🔍 Interactive Visualization: Explore object-centric process models with intuitive visualizations.
- 🤝 Multi-Object Support: Analyze processes involving multiple interacting objects seamlessly.
- ⚙️ Customizable: Every dataset, every process is different. ObjektViz allows you to customize visualizations to fit your data.
- 🧩 Manage Complexity: Designed to handle very complex processes without overwhelming the user.
- ▶️ Token Replay: Replay the flow of tokens through the process to understand dynamics and interactions, even for multi-object scenarios.
- 🔄 Morphing Visualizations: Smoothly transition between different views and representations of the process model to understand various aspects of the data.
Quick Start
ObjektViz has a lot of customization, and is built with the idea that you as a user will compose your own dashboard for the analysis you have at hand. However, to get you started quickly, we provide some example dashboards that you can run and explore.
In the examples we use KuzuDB, which works fine for small examples and the setup is easy. For real-world datasets, you might use Neo4J, but that requires more setup. We have exported and processed some OCEL datasets into EKG and generated aggregated views (i.e. process models) for you to explore in the examples.
Installation using pypi package
-
Create a new Python environment and install the
objektvizpackage from PyPI:pip install objektviz[kuzu, neo4j]
-
Copy the example dashboard script (e.g. 'examples/generic_ocel_viewer.py') and dataset folder.
-
Run the example dashboard:
streamlit run generic_ocel_viewer.py
Manual installation
- Clone the repository:
git clone git@github.com:mamiksik/ObjektViz.git
- Navigate to the project directory:
cd ObjektViz
- Install the required dependencies (we use uv to manage the Python environment and dependencies):
uv sync --all-extras
- Activate the virtual environment (bash shell):
source .venv/bin/activate
- Run the example dashboard:
streamlit run examples/generic_ocel_viewer.py
INFO: Using Chrome is strongly recommended. Mozilla Firefox and Safari should also work. (Although Safari does not support token replay.)
INFO: Token Replay for now requires APOC library and is thus not available with KuzuDB
- [OPTIONAL] If you are planning on editing the objektviz source code, you can install the objektviz package it in editable mode:
uv add --editable --dev objektviz
Feature spotlight
Morphing and Animation - ObjektViz supports smooth morphing between different process model views. This allows users to transition seamlessly from one perspective to another, this helps to manage complexity and understand different aspects of the process.
Shaders - color lightness and thickness of edges play critical role in making a proces s model understandable. ObjektViz supports a variety of shaders that can be applied to nodes and edges to highlight different aspects of the process model or to deal with skewed distributions.
Token Replay - understand the dynamics of your process by replaying tokens through the process model. This feature allows you to visualize how different objects interact over time within the process.
Import your own OCEL dataset
To import your own OCEL dataset, you need to convert it into EKG format first and then generate aggregated views (i.e., process models) from it.
We provide scripts to help you with this process in the examples folder.
- Convert OCEL to EKG and infer aggregated views:
uv run python examples/ocel/kuzudb/process_ocel_to_kuzudb.py path/to/your/ocel.json path/to/save/ekg.kuzu
- Copy one of the example dashboards (e.g. 'examples/generic_ocel_viewer.py') script and modify it to point to your newly created EKG database. The line to change is where the database is initialized:
db = kuzu.Database("path/to/save/ekg.kuzu")
- Run your modified dashboard:
uv run python -m streamlit run path/to/your/custom_dashboard.py
ObjektViz Proclet Metamodel (Work In Progress - Subject to Change)
Licensing
This project is licensed under the GNU Affero General Public License v3 (AGPL-3.0) for open-source and academic use. If you require ObjektViz for commercial use in closed-source environments under a different license please contact us.
Project details
Release history Release notifications | RSS feed
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 objektviz-0.3.2.tar.gz.
File metadata
- Download URL: objektviz-0.3.2.tar.gz
- Upload date:
- Size: 66.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7bede06633b76b15d5e146aa772147ec2d0bc117e3ae20b7c77093106c88cd3
|
|
| MD5 |
05f78bdd11bca688ebd06fe8700d3a91
|
|
| BLAKE2b-256 |
4a497b5078bd4c54a9df01b2d4d43eb594d905abc0d5d55926ed3192ca823720
|
File details
Details for the file objektviz-0.3.2-py3-none-any.whl.
File metadata
- Download URL: objektviz-0.3.2-py3-none-any.whl
- Upload date:
- Size: 82.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f332563176fab4d44def7028b1599f82d5262609766a3112cfb8f275fc3fba0e
|
|
| MD5 |
8ad6649bf1d85718d1ac1d48da7fe97d
|
|
| BLAKE2b-256 |
6daef6d4c6b3d0faffda26f24353a69a2088ecbea99cde60a18431e814b2fd52
|