Skip to content

Commit

Permalink
fixed connection of diagram to editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakae committed Nov 14, 2024
1 parent 87944e7 commit 35b0482
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ export class StpaDiagramGenerator extends SnippetGraphGenerator {
const { document } = args;
if (document.parseResult.lexerErrors.length === 0 && document.parseResult.parserErrors.length === 0) {
const model: Model = document.parseResult.value;
if (!this.idCache) {
this.idCache = args.idCache;
}
this.idCache = args.idCache;
return this.generateGraph(model);
} else {
// return empty graph if the model is not valid
Expand Down

0 comments on commit 35b0482

Please sign in to comment.