better looks
This commit is contained in:
parent
f992dcb5f6
commit
20a36825d4
7 changed files with 71 additions and 22 deletions
|
|
@ -286,18 +286,18 @@ export function parseStatechart(state: VisualEditorState, conns: Connections): [
|
|||
}
|
||||
}
|
||||
|
||||
// // raise-actions
|
||||
// for (const action of parsed.actions) {
|
||||
// if (action.kind === "raise") {
|
||||
// const {event} = action;
|
||||
// if (event.startsWith("_")) {
|
||||
// internalEvents.add(event);
|
||||
// }
|
||||
// else {
|
||||
// outputEvents.add(event);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// raise-actions
|
||||
for (const action of parsed.actions) {
|
||||
if (action.kind === "raise") {
|
||||
const {event} = action;
|
||||
if (event.startsWith("_")) {
|
||||
// internalEvents.add(event);
|
||||
}
|
||||
else {
|
||||
outputEvents.add(event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// collect variables
|
||||
variables = variables.union(findVariables(parsed.guard));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue