evl-lib

The EVL developer guide

EVL turns tags in your Java or Kotlin code into a hand-drawn map of how your system works: which endpoint or job starts a flow, which steps run in which order, where it branches, loops or fails, and which databases, buckets, queues and services it touches.

This guide teaches EVL from the first tag to the advanced patterns. Read it in order the first time; every chapter builds on the one before and uses the same example, a small media service (examples/media).

The EVL map of the media example

The maps are drawn by the EVL IntelliJ plugin. The annotations and the CLI work on their own, but to see the hand-drawn flow maps you need the EVL plugin from JetBrains Marketplace (IntelliJ IDEA 2026.3 or newer; free for up to 10 flows).

Chapters

# Chapter You will learn
1 Install Add the annotations, install the IntelliJ plugin, get the CLI
2 Your first flow Tag an endpoint and two steps, and open the map
3 Paths in depth How paths merge into a tree, ids, labels, order and inline markers
4 Symbols and resources @EVL.* shapes, resources and the arrows EVL draws for you
5 Async steps and jobs Queues, listeners, schedulers and after
6 Branches, loops and errors ? decisions, when, each, onError
7 Shared code and big systems Code used by several flows, modules, naming at scale
8 Using the map Navigation, expand in place, search, zoom, export, the tool window
9 The CLI Check tags in a terminal or in CI, JSON output
10 Good maps What to tag, what to leave out, a review checklist
11 Reference Every annotation, attribute, marker form and problem message
12 Troubleshooting When the map is not what you expected

The idea in one minute

@EVL.Endpoint(method = "POST", path = "/media", caller = "Mobile app")
@Flow("image-upload")
public UploadResponse upload(UploadRequest request) {
    validator.check(request);        // check() carries @Flow("image-upload>validate")
    assets.savePending(request);     // savePending() carries @Flow("image-upload>db")
    // @flow image-upload>notify: Tell the user [when quota is almost used]
    ...
}