apache/incubator-seata

Support auto-layout for state machine designer

Open

#6.136 aberto em 11 de dez. de 2023

Ver no GitHub
 (14 comments) (0 reactions) (1 assignee)Java (8.878 forks)batch import
good first issuetask: help-wanted

Métricas do repositório

Stars
 (25.960 stars)
Métricas de merge de PR
 (Mesclagem média 13d 1h) (13 fundiu PRs em 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.

Guia do colaborador