Notice the space between the end of the parenthetical and the start of the thick arrow, this is at an intersection of content and form, where category and functional interplay demarcate processuation of the real:
(start)[Start]->(running)
let start = (outcome) -> ({ output: () -> ({ ...outcome }) })
({category})[{Function}]->(output)
So YUML and JavaScript more or less live in the same syntactonomic space of expression. Just write your JavaScript as YUML documents already!