Skip to content

Commit

Permalink
Dump symbolTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Aug 12, 2022
1 parent accf67f commit 69ee892
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/core/src/dumpGraphToGraphViz.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ export default async function dumpGraphToGraphViz(
label +=
'\\nusedSymbolsDown: ' + [...node.usedSymbolsDown].join(',');
}
if (node.symbolTarget && node.symbolTarget?.size > 0) {
label +=
'\\nsymbolTarget: ' +
[...node.symbolTarget].map(([a, b]) => `${a}:${b}`).join(',');
}
} else {
label += '\\nsymbols: cleared';
}
Expand Down

0 comments on commit 69ee892

Please sign in to comment.