apache/incubator-seata

Support auto-layout for state machine designer

Open

#6136 aperta il 11 dic 2023

Vedi su GitHub
 (14 commenti) (0 reazioni) (1 assegnatario)Java (8878 fork)batch import
good first issuetask: help-wanted

Metriche repository

Star
 (25.960 star)
Metriche merge PR
 (Merge medio 13g 1h) (13 PR mergiate in 30 g)

Descrizione

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.

Guida contributor