EVL draws your system as hand-drawn flow maps, straight from tags in the code. There is no YAML.
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).
New to EVL? Read the developer guide: twelve short chapters from your first tag to advanced patterns, with screenshots. This page is the one-page summary.
dependencies { compileOnly("io.github.ilyaslabs:evl-annotations:2.0.0") }
A path is a list of ids separated by >. Every path you write merges into one tree.
@EVL.Endpoint(method = "POST", path = "/media", caller = "Mobile app")
@Flow("image-upload")
public UploadResponse upload(UploadRequest request) {
validator.check(request); // @Flow("image-upload>validate") on check()
URI url = storage.presignUpload(); // @Flow("image-upload>s3") on presignUpload()
}
Inside a method, use a comment marker (Java can’t annotate statements):
// @flow image-upload>s3>key: Build object key
String key = "media/" + asset.userId() + "/" + asset.id();
@Flow(value = "image-upload>thumbnail", after = "image-upload>queue") marks an asynchronous step that follows another one (dashed arrow).? is a decision (checkout>payment?>card), its arms carry when = "card" (or [when card] on an inline marker, [when else] for the rest); each = "size in sizes" / [each …] marks a loop; onError = "IOException" / [on error …] marks an error path.@Flow("a>x, b>x") (one string, comma-separated), or // @flow a>x, b>x: Label inline. A flow that calls code tagged only for another flow still shows the resources that code uses.label = "…" sets the display name and description = "…" the line under it.Symbols only change how something is drawn. EVL is framework-agnostic: it never reads Spring or other annotations.
| Annotation | Drawn as |
|---|---|
@EVL.Endpoint(method, path, caller) |
box with the method and path; caller adds a stick figure |
@EVL.Job(schedule \| trigger) |
clock |
@EVL.Database("postgres") |
cylinder |
@EVL.Storage("Amazon S3") |
bucket |
@EVL.Queue("media.uploaded") |
pipe |
@EVL.Cache(ttl = "15m") |
lightning bolt |
@EVL.External("Stripe") |
cloud |
@EVL.Interface, @EVL.Service, @EVL.Actor |
lollipop box, box, stick figure |
Put resource symbols on the class (or the interface it implements). Classes with the same kind and name are one resource, so every repository marked @EVL.Database("postgres") points at the same cylinder. A step that calls into a resource class gets an arrow to it.
java -jar evl-cli-all.jar <dir> prints the tree, including when …:, on error …: and (each …) lines; --json prints the model the plugin draws.See examples/media for a complete example.