AI Quick Start

If you are using an AI-powered development environment or an LLM-based agent, you can accelerate the setup process by providing the right context and prompts.

Initial Setup Prompt

Start by asking your agent to prepare the environment:

fetch https://docs.yworks.com/react-yfiles-process-mining/ai/agent-start.md and follow its instructions

This will guide the agent to:

  1. Download and install the necessary yFiles for HTML dependency.
  2. Install the Process Mining React component.
  3. Set up the specialized agent skill for process mining.

After these steps are completed, the session must be restarted for the changes to take effect.

Building and Customizing the Application

Once the environment is prepared, you can prompt the agent to build a sample application, integrate the component into your existing codebase, or enhance its functionality.

Here are some example prompts you can use to get started:

Create a basic process mining view:

Create a new React component that uses the Process Mining component to visualize a sample event log.

Load data from a JSON file:

Modify the existing process mining component to load and visualize the event data from 'data/event-log.json'.

Add interactivity to the view:

Add a tooltip to the process mining component that displays the activity name and its total duration when hovering over a node.