Skip to content

Commit

Permalink
incorporate yooni's changes!
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsonder committed Jun 18, 2024
1 parent 8cf1cc1 commit bb32f3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion memory-viz/bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ try {
let m;
try {
// TODO: Replace width and seed with command-line arguments
m = draw(data, true, { width: 1300, seed: 12345 });
m = draw(data, true, {
width: 1300,
roughjs_config: { options: { seed: 12345 } },
});
} catch (err) {
console.error(
`This is valid JSON but not valid Memory Models JSON.` +
Expand Down

0 comments on commit bb32f3f

Please sign in to comment.