apache/incubator-seata

Support auto-layout for state machine designer

Open

#6,136 opened on Dec 11, 2023

View on GitHub
 (14 comments) (0 reactions) (1 assignee)Java (8,878 forks)batch import
good first issuetask: help-wanted

Repository metrics

Stars
 (25,960 stars)
PR merge metrics
 (Avg merge 20d 17h) (27 merged PRs in 30d)

Description

Why you need it?

Currently, there are two ways to define a StateMachine. One is to use the designer, and the other is to directly write JSON. If users adopt the latter (i.e., do not write JSON through the designer), then it is not supported to import it into the designer because there is no style information (shape, edge positioning). If auto-layout is supported, this scenario will be indirectly supported.

How it could be?

You can extend SagaImporter to add style information.

Contributor guide