diff --git a/memory-viz/bin/cli.js b/memory-viz/bin/cli.js index d8b5a16..00b07cb 100644 --- a/memory-viz/bin/cli.js +++ b/memory-viz/bin/cli.js @@ -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.` +