Skip to main content

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 Screenshot

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.

  1. Clone the repository:
    git clone git@github.com:mamiksik/ObjektViz.git
    
  2. Navigate to the project directory:
    cd ObjektViz
    
  3. Install the required dependencies (we use uv to manage the Python environment and dependencies):
    uv sync
    
  4. Activate the virtual environment (bash shell):
    source .venv/bin/activate
    
  5. 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

  1. [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
    

Visualizer

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.

Morphing

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.

Custom Shaders

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.

Custom Shaders

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.

  1. 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
    
  2. 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")
    
  3. 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)

Proclet Metamodel

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

objektviz-0.2.2.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

objektviz-0.2.2-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file objektviz-0.2.2.tar.gz.

File metadata

  • Download URL: objektviz-0.2.2.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for objektviz-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b780175b0b4104dcc9aea93bbacd8b872f8367843182a73bd72bae4034ee7183
MD5 2ba6d656016bd546839fbf177a338b16
BLAKE2b-256 41df7d30aa434f7921431e3c278db3d1b879ecb05689dbcadf5f89a24127740b

See more details on using hashes here.

File details

Details for the file objektviz-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: objektviz-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 46.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for objektviz-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c7973d82310f9f232d597673e3e7db75bf6e36eaeb5c9fc4988c40fe4db827
MD5 600518d1641f34f70accc62307ea7075
BLAKE2b-256 b56be5d804dbecb854ece9a74f4b7b690791f653b6b7ad1872be7e5c5504bdb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page