user { # User n1: circle label:"Start Transform" n3: rectangle label:"Validate Transform conditions" n5: diamond label:"Record Transform outcome" n7: circle label:"End Transform" n1.handle(bottom) -> app.n2.handle(top) n3.handle(bottom) -> app.n4.handle(top) [label="Processed"] n5.handle(bottom) -> app.n6.handle(top) n5.handle(right) -> app.n4.handle(right) [label="Retry/Rejected"] } app { # App n2: rectangle label:"Receive Transform event" n4: rectangle label:"Execute Transform action" n6: rectangle label:"Monitor Transform status" n6.handle(right) -> user.n7.handle(bottom) [label="Success"] n4.handle(bottom) -> user.n5.handle(left) n2.handle(right) -> user.n3.handle(left) }