{"_id":"@codegraphy-dev/tldraw","_rev":"7-a1e955010559864e07aad2db2aa1264a","name":"@codegraphy-dev/tldraw","dist-tags":{"latest":"0.2.4"},"versions":{"0.1.0":{"name":"@codegraphy-dev/tldraw","version":"0.1.0","keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"license":"MIT","_id":"@codegraphy-dev/tldraw@0.1.0","maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"os":["darwin"],"bin":{"codegraphy-tldraw":"dist/codegraphy-tldraw.js"},"dist":{"shasum":"8717f9150b0a43b4027268daee0025e885ce0097","tarball":"https://registry.npmjs.org/@codegraphy-dev/tldraw/-/tldraw-0.1.0.tgz","fileCount":10,"integrity":"sha512-j7lcyDsdHjfUogxLQQ/93+cTeUpnvXxSUwclB+3DSfBXgOVha3tqvqIURmWS0zBQ+YVm0JSpkIdDgtoAg+XbcQ==","signatures":[{"sig":"MEQCIFQct8ArrgXKEwFDj6KbMf5h1qGj8LLrbtInNNtuWknwAiAjemIv9/Pmw51dObRIPn0ltEsXpDbQjmMItU3LCBChxw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385492},"type":"module","_from":"file:codegraphy-dev-tldraw-0.1.0.tgz","engines":{"node":">=20 <23"},"scripts":{"lint":"eslint src tests scripts vitest.config.ts","test":"vitest run --config vitest.config.ts","build":"tsx ./scripts/build.ts","typecheck":"tsc --noEmit -p tsconfig.json"},"_npmUser":{"name":"poleski","email":"soboleskijoe@gmail.com"},"_resolved":"/tmp/f09325148650232315c41ed798b51ea0/codegraphy-dev-tldraw-0.1.0.tgz","_integrity":"sha512-j7lcyDsdHjfUogxLQQ/93+cTeUpnvXxSUwclB+3DSfBXgOVha3tqvqIURmWS0zBQ+YVm0JSpkIdDgtoAg+XbcQ==","repository":{"url":"git+https://github.com/joesobo/CodeGraphyV4.git","type":"git"},"_npmVersion":"10.9.4","description":"Render a CodeGraphy workspace as a native tldraw document","directories":{},"_nodeVersion":"22.22.0","dependencies":{"yazl":"^3.3.1","yauzl":"^3.2.0","libsql":"0.5.29","@tldraw/utils":"^5.2.5","@tldraw/tlschema":"^5.2.5","material-icon-theme":"5.33.1","@codegraphy-dev/core":"4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jsdom":"^25.0.0","react":"^18.2.0","tldraw":"^5.2.5","vitest":"^3.0.0","esbuild":"^0.25.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/yazl":"^3.3.1","@types/react":"^18.2.0","@types/yauzl":"^2.10.3","@types/react-dom":"^18.2.0","@testing-library/dom":"^10.0.0","@testing-library/react":"^16.0.0","@codegraphy-dev/graph-renderer":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/tldraw_0.1.0_1784845080993_0.3704055265285975","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@codegraphy-dev/tldraw","version":"0.1.1","keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"license":"MIT","_id":"@codegraphy-dev/tldraw@0.1.1","maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"os":["darwin"],"bin":{"codegraphy-tldraw":"dist/codegraphy-tldraw.js"},"dist":{"shasum":"da87efd65185ee739b45051e2a8816c7e3eb4d9b","tarball":"https://registry.npmjs.org/@codegraphy-dev/tldraw/-/tldraw-0.1.1.tgz","fileCount":10,"integrity":"sha512-lllPoY1nmWp4arSEvyo4SzNLqpK4YRqUbLrJOrXctP2N7yFc83CgB5SjIwAUlgz5CmmMlexkcM/SZ46boNxEQw==","signatures":[{"sig":"MEQCIDGPOkSdES7eWlHVH9wrIW9SivlFutcDNogDf0akJrNvAiB+rs0X1qb0nGzbwdK/0/zhsUPuqVyc5RYKkrDPTXkZ6A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386108},"type":"module","_from":"file:codegraphy-dev-tldraw-0.1.1.tgz","engines":{"node":">=20 <23"},"scripts":{"lint":"eslint src tests scripts vitest.config.ts","test":"vitest run --config vitest.config.ts","build":"tsx ./scripts/build.ts","typecheck":"tsc --noEmit -p tsconfig.json"},"_npmUser":{"name":"poleski","email":"soboleskijoe@gmail.com"},"_resolved":"/tmp/04be4a811602b40dafc397cbefc84057/codegraphy-dev-tldraw-0.1.1.tgz","_integrity":"sha512-lllPoY1nmWp4arSEvyo4SzNLqpK4YRqUbLrJOrXctP2N7yFc83CgB5SjIwAUlgz5CmmMlexkcM/SZ46boNxEQw==","repository":{"url":"git+https://github.com/joesobo/CodeGraphyV4.git","type":"git"},"_npmVersion":"10.9.4","description":"Render a CodeGraphy workspace as a native tldraw document","directories":{},"_nodeVersion":"22.22.0","dependencies":{"yazl":"^3.3.1","yauzl":"^3.2.0","libsql":"0.5.29","@tldraw/utils":"^5.2.5","@tldraw/tlschema":"^5.2.5","material-icon-theme":"5.33.1","@codegraphy-dev/core":"4.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jsdom":"^25.0.0","react":"^18.2.0","tldraw":"^5.2.5","vitest":"^3.0.0","esbuild":"^0.25.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/yazl":"^3.3.1","@types/react":"^18.2.0","@types/yauzl":"^2.10.3","@types/react-dom":"^18.2.0","@testing-library/dom":"^10.0.0","@testing-library/react":"^16.0.0","@codegraphy-dev/graph-renderer":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/tldraw_0.1.1_1784862102871_0.6768349775754992","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@codegraphy-dev/tldraw","version":"0.2.0","keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"license":"MIT","_id":"@codegraphy-dev/tldraw@0.2.0","maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"os":["darwin"],"bin":{"codegraphy-tldraw":"dist/codegraphy-tldraw.js"},"dist":{"shasum":"aded61186fe084d0bb291cc15fc45d8db7261acc","tarball":"https://registry.npmjs.org/@codegraphy-dev/tldraw/-/tldraw-0.2.0.tgz","fileCount":10,"integrity":"sha512-pmCGveUnuHyuPrKSHd5QsHvc/R13g4fjj+QavximC+f87bWZJG02oUzHEqJaDpEDeb7sE00Cgl9rlrmLsHfcbw==","signatures":[{"sig":"MEUCIQCabgz+MQf062uxYQBv283xuMF5U2pE7wUtuAhujwftuAIgFP8vaY9HtWa35ftR5mxZUMFHHdwM1kuv2h1gInbsZgY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":387560},"type":"module","_from":"file:codegraphy-dev-tldraw-0.2.0.tgz","engines":{"node":"^22.14.0 || >=23.6.0"},"scripts":{"lint":"eslint src tests scripts vitest.config.ts","test":"vitest run --config vitest.config.ts","build":"tsx ./scripts/build.ts","typecheck":"tsc --noEmit -p tsconfig.json"},"_npmUser":{"name":"poleski","email":"soboleskijoe@gmail.com"},"_resolved":"/tmp/3d03876597b9d949659b58d57c4429f5/codegraphy-dev-tldraw-0.2.0.tgz","_integrity":"sha512-pmCGveUnuHyuPrKSHd5QsHvc/R13g4fjj+QavximC+f87bWZJG02oUzHEqJaDpEDeb7sE00Cgl9rlrmLsHfcbw==","repository":{"url":"git+https://github.com/joesobo/CodeGraphyV4.git","type":"git"},"_npmVersion":"11.16.0","description":"Render a CodeGraphy workspace as a native tldraw document","directories":{},"_nodeVersion":"24.18.0","dependencies":{"yazl":"^3.3.1","yauzl":"^3.2.0","libsql":"0.5.29","@tldraw/utils":"^5.2.5","@tldraw/tlschema":"^5.2.5","material-icon-theme":"5.33.1","@codegraphy-dev/core":"5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jsdom":"^25.0.0","react":"^18.2.0","tldraw":"^5.2.5","vitest":"^3.0.0","esbuild":"^0.25.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/yazl":"^3.3.1","@types/react":"^18.2.0","@types/yauzl":"^2.10.3","@types/react-dom":"^18.2.0","@testing-library/dom":"^10.0.0","@testing-library/react":"^16.0.0","@codegraphy-dev/graph-renderer":"0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/tldraw_0.2.0_1785378983942_0.5115240472674691","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@codegraphy-dev/tldraw","version":"0.2.1","keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"license":"MIT","_id":"@codegraphy-dev/tldraw@0.2.1","maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"os":["darwin"],"bin":{"codegraphy-tldraw":"dist/codegraphy-tldraw.js"},"dist":{"shasum":"91a9c1c22f5a6d9e86e02e38cecbb0da201878c8","tarball":"https://registry.npmjs.org/@codegraphy-dev/tldraw/-/tldraw-0.2.1.tgz","fileCount":10,"integrity":"sha512-3/qNWdcS7B9rXnQqmoDQCIc/Jgo+nEZxAboFpC/fP5dS/jDCJPC9qJnv7qinHai622XVCx4I+6rkzKuUS6RUcA==","signatures":[{"sig":"MEUCIB1YHQP1oo/xsCeAj7D05oeS9vlb1L9elliFjFYM4gSKAiEAxUL1JXlWamV/k6nqxiHezZe0pATp4JX6iAYoTe4Utck=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":387747},"type":"module","_from":"file:codegraphy-dev-tldraw-0.2.1.tgz","engines":{"node":"^22.14.0 || >=23.6.0"},"scripts":{"lint":"eslint src tests scripts vitest.config.ts","test":"vitest run --config vitest.config.ts","build":"tsx ./scripts/build.ts","typecheck":"tsc --noEmit -p tsconfig.json"},"_npmUser":{"name":"poleski","email":"soboleskijoe@gmail.com"},"_resolved":"/tmp/594ddcfda2fddefe73e97f249b5b4881/codegraphy-dev-tldraw-0.2.1.tgz","_integrity":"sha512-3/qNWdcS7B9rXnQqmoDQCIc/Jgo+nEZxAboFpC/fP5dS/jDCJPC9qJnv7qinHai622XVCx4I+6rkzKuUS6RUcA==","repository":{"url":"git+https://github.com/joesobo/CodeGraphyV4.git","type":"git"},"_npmVersion":"11.16.0","description":"Render a CodeGraphy workspace as a native tldraw document","directories":{},"_nodeVersion":"24.18.0","dependencies":{"yazl":"^3.3.1","yauzl":"^3.2.0","libsql":"0.5.29","@tldraw/utils":"^5.2.5","@tldraw/tlschema":"^5.2.5","material-icon-theme":"5.33.1","@codegraphy-dev/core":"5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jsdom":"^25.0.0","react":"^18.2.0","tldraw":"^5.2.5","vitest":"^3.0.0","esbuild":"^0.25.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/yazl":"^3.3.1","@types/react":"^18.2.0","@types/yauzl":"^2.10.3","@types/react-dom":"^18.2.0","@testing-library/dom":"^10.0.0","@testing-library/react":"^16.0.0","@codegraphy-dev/graph-renderer":"0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/tldraw_0.2.1_1785804941931_0.6901264889673586","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@codegraphy-dev/tldraw","version":"0.2.2","keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"license":"MIT","_id":"@codegraphy-dev/tldraw@0.2.2","maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"os":["darwin"],"bin":{"codegraphy-tldraw":"dist/codegraphy-tldraw.js"},"dist":{"shasum":"23c7901e3e3a17224686f34ffe777d73485f3a0f","tarball":"https://registry.npmjs.org/@codegraphy-dev/tldraw/-/tldraw-0.2.2.tgz","fileCount":10,"integrity":"sha512-ribZ17gv4+AgjvUq4rLCAAfwVkOmVqPknqKxm01j/tMvvNoORFsjeOU0YUJzMbxoL7FYgcNgmhILyMOyvM4aPw==","signatures":[{"sig":"MEYCIQDKaFvWOfMoeaCPLXWoZc97yfU+gfzgkpUh7MkYfcQXYQIhAPpMk9tNEBzKzQE3moV7sri9yVOn2gI+0aqGSOcho21i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":387935},"type":"module","_from":"file:codegraphy-dev-tldraw-0.2.2.tgz","engines":{"node":"^22.14.0 || >=23.6.0"},"scripts":{"lint":"eslint src tests scripts vitest.config.ts","test":"vitest run --config vitest.config.ts","build":"tsx ./scripts/build.ts","typecheck":"tsc --noEmit -p tsconfig.json"},"_npmUser":{"name":"poleski","email":"soboleskijoe@gmail.com"},"_resolved":"/tmp/aa4a5804684f25aa5035f1071ea658fa/codegraphy-dev-tldraw-0.2.2.tgz","_integrity":"sha512-ribZ17gv4+AgjvUq4rLCAAfwVkOmVqPknqKxm01j/tMvvNoORFsjeOU0YUJzMbxoL7FYgcNgmhILyMOyvM4aPw==","repository":{"url":"git+https://github.com/joesobo/CodeGraphyV4.git","type":"git"},"_npmVersion":"11.16.0","description":"Render a CodeGraphy workspace as a native tldraw document","directories":{},"_nodeVersion":"24.18.0","dependencies":{"yazl":"^3.3.1","yauzl":"^3.2.0","libsql":"0.5.29","@tldraw/utils":"^5.2.5","@tldraw/tlschema":"^5.2.5","material-icon-theme":"5.33.1","@codegraphy-dev/core":"5.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jsdom":"^25.0.0","react":"^18.2.0","tldraw":"^5.2.5","vitest":"^3.0.0","esbuild":"^0.25.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/yazl":"^3.3.1","@types/react":"^18.2.0","@types/yauzl":"^2.10.3","@types/react-dom":"^18.2.0","@testing-library/dom":"^10.0.0","@testing-library/react":"^16.0.0","@codegraphy-dev/graph-renderer":"0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/tldraw_0.2.2_1785868663032_0.42888860317638344","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@codegraphy-dev/tldraw","version":"0.2.3","keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"license":"MIT","_id":"@codegraphy-dev/tldraw@0.2.3","maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"os":["darwin"],"bin":{"codegraphy-tldraw":"dist/codegraphy-tldraw.js"},"dist":{"shasum":"1f7b82b8c9c91a5f13cd536e8c19aa219eda627e","tarball":"https://registry.npmjs.org/@codegraphy-dev/tldraw/-/tldraw-0.2.3.tgz","fileCount":10,"integrity":"sha512-/bR3CCwdqF2Xa5rtAq2kJmKIxoWAmMpcGLXPDBLgthC+awBOKJDNskXOgcpuLlhxMEf2ny4rz8qY72R4At4eug==","signatures":[{"sig":"MEUCIQDOFI12Eihp71FD9nmYv4uvGBBvuYhbiRgZAp6ceZc6xQIgWk8HFXyCWBr6NS0k59mxZFXuoUjJJF6oqOAz6bveGos=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":388225},"type":"module","_from":"file:codegraphy-dev-tldraw-0.2.3.tgz","engines":{"node":"^22.14.0 || >=23.6.0"},"scripts":{"lint":"eslint src tests scripts vitest.config.ts","test":"vitest run --config vitest.config.ts","build":"tsx ./scripts/build.ts","typecheck":"tsc --noEmit -p tsconfig.json"},"_npmUser":{"name":"poleski","email":"soboleskijoe@gmail.com"},"_resolved":"/tmp/699c5ca88f12ce6a5850aeed04117a60/codegraphy-dev-tldraw-0.2.3.tgz","_integrity":"sha512-/bR3CCwdqF2Xa5rtAq2kJmKIxoWAmMpcGLXPDBLgthC+awBOKJDNskXOgcpuLlhxMEf2ny4rz8qY72R4At4eug==","repository":{"url":"git+https://github.com/joesobo/CodeGraphyV4.git","type":"git"},"_npmVersion":"11.16.0","description":"Render a CodeGraphy workspace as a native tldraw document","directories":{},"_nodeVersion":"24.18.0","dependencies":{"yazl":"^3.3.1","yauzl":"^3.2.0","libsql":"0.5.29","@tldraw/utils":"^5.2.5","@tldraw/tlschema":"^5.2.5","material-icon-theme":"5.33.1","@codegraphy-dev/core":"5.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","jsdom":"^25.0.0","react":"^18.2.0","tldraw":"^5.2.5","vitest":"^3.0.0","esbuild":"^0.25.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@types/yazl":"^3.3.1","@types/react":"^18.2.0","@types/yauzl":"^2.10.3","@types/react-dom":"^18.2.0","@testing-library/dom":"^10.0.0","@testing-library/react":"^16.0.0","@codegraphy-dev/graph-renderer":"0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/tldraw_0.2.3_1785894358061_0.6746575629407374","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@codegraphy-dev/tldraw","version":"0.2.4","description":"Render a CodeGraphy workspace as a native tldraw document","license":"MIT","type":"module","repository":{"type":"git","url":"git+https://github.com/joesobo/CodeGraphyV4.git"},"homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"bin":{"codegraphy-tldraw":"dist/codegraphy-tldraw.js"},"engines":{"node":"^22.14.0 || >=23.6.0"},"os":["darwin"],"publishConfig":{"access":"public"},"dependencies":{"@tldraw/tlschema":"^5.2.5","@tldraw/utils":"^5.2.5","libsql":"0.5.29","material-icon-theme":"5.33.1","yauzl":"^3.2.0","yazl":"^3.3.1","@codegraphy-dev/core":"5.0.4"},"devDependencies":{"@testing-library/dom":"^10.0.0","@testing-library/react":"^16.0.0","@types/react":"^18.2.0","@types/react-dom":"^18.2.0","@types/node":"^20.11.0","@types/yauzl":"^2.10.3","@types/yazl":"^3.3.1","esbuild":"^0.25.0","jsdom":"^25.0.0","react":"^18.2.0","react-dom":"^18.2.0","tldraw":"^5.2.5","tsx":"^4.21.0","typescript":"^5.3.3","vitest":"^3.0.0","@codegraphy-dev/graph-renderer":"0.4.0"},"scripts":{"build":"tsx ./scripts/build.ts","lint":"eslint src tests scripts vitest.config.ts","test":"vitest run --config vitest.config.ts","typecheck":"tsc --noEmit -p tsconfig.json"},"_id":"@codegraphy-dev/tldraw@0.2.4","_integrity":"sha512-4y8cuzcHBHDCyhUpGXxi1oTXp6C6WvDSzzx0V0lkxN22I+5zgSZYJ7JJXZ63/uP749Hisu4tK7HqKRIi5OjeSw==","_resolved":"/tmp/e204471a997af87aa8a59fbabbd590f7/codegraphy-dev-tldraw-0.2.4.tgz","_from":"file:codegraphy-dev-tldraw-0.2.4.tgz","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-4y8cuzcHBHDCyhUpGXxi1oTXp6C6WvDSzzx0V0lkxN22I+5zgSZYJ7JJXZ63/uP749Hisu4tK7HqKRIi5OjeSw==","shasum":"ce54ace69f8ad7c98e76757b4d8d46828b193e17","tarball":"https://registry.npmjs.org/@codegraphy-dev/tldraw/-/tldraw-0.2.4.tgz","fileCount":10,"unpackedSize":388413,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICLIC/2GlklkRBfxeh7MBSi2Cs1JxQQWykQW6YlNhNAcAiEAullNpPaZdzAFY+6mkw/3H0reUVoQq997NiBfmnPfoew="}]},"_npmUser":{"name":"poleski","email":"soboleskijoe@gmail.com"},"directories":{},"maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tldraw_0.2.4_1785901752818_0.5598567335747884"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-23T22:18:00.833Z","modified":"2026-08-05T03:49:13.117Z","0.1.0":"2026-07-23T22:18:01.155Z","0.1.1":"2026-07-24T03:01:43.025Z","0.2.0":"2026-07-30T02:36:24.141Z","0.2.1":"2026-08-04T00:55:42.057Z","0.2.2":"2026-08-04T18:37:43.168Z","0.2.3":"2026-08-05T01:45:58.221Z","0.2.4":"2026-08-05T03:49:12.961Z"},"bugs":{"url":"https://github.com/joesobo/CodeGraphyV4/issues"},"license":"MIT","homepage":"https://github.com/joesobo/CodeGraphyV4/tree/main/packages/tldraw","keywords":["codegraphy","force-directed","graph","tldraw","typescript","visualization"],"repository":{"type":"git","url":"git+https://github.com/joesobo/CodeGraphyV4.git"},"description":"Render a CodeGraphy workspace as a native tldraw document","maintainers":[{"name":"poleski","email":"soboleskijoe@gmail.com"}],"readme":"# `@codegraphy-dev/tldraw`\n\nRender a CodeGraphy Workspace as editable native shapes in tldraw offline.\nCodeGraphy indexes the workspace, creates the Relationship Graph, and runs its\nforce physics inside the saved `.tldraw` document.\n\n![A CodeGraphy Relationship Graph running force physics in tldraw offline](https://raw.githubusercontent.com/joesobo/CodeGraphyV4/main/docs/media/readme/codegraphy-tldraw-demo.gif)\n\n## Requirements\n\n- macOS\n- Node.js `^22.14.0 || >=23.6.0`. An active LTS release is recommended.\n- [tldraw offline](https://offline.tldraw.com/) installed in `/Applications`\n\nThe first launcher release supports macOS because it opens documents through\nthe macOS `open` command and reads tldraw offline's local application data.\n\n## Install the released package\n\n1. Install and open tldraw offline once.\n2. Install CodeGraphy Core and the tldraw interface:\n\n   ```sh\n   npm install --global @codegraphy-dev/core @codegraphy-dev/tldraw\n   ```\n\n3. Confirm that the launcher is available:\n\n   ```sh\n   codegraphy-tldraw --help\n   ```\n\n## Create your first canvas\n\n1. Open a terminal in the workspace that you want CodeGraphy to index:\n\n   ```sh\n   cd /path/to/workspace\n   ```\n\n2. Run the launcher:\n\n   ```sh\n   codegraphy-tldraw\n   ```\n\n3. tldraw offline opens `CodeGraphy.tldraw` from the workspace. Select\n   **Run Script** when tldraw asks whether to run the embedded script. Run\n   scripts only in documents that you generated or trust.\n\nThe launcher indexes the current directory through CodeGraphy Core. It creates\n`CodeGraphy.tldraw` when the file does not exist and refreshes it when it does.\n\n## Create a separate canvas\n\nPass a relative or absolute `.tldraw` path:\n\n```sh\ncodegraphy-tldraw docs/architecture.tldraw\ncodegraphy-tldraw /tmp/my-workspace-graph.tldraw\n```\n\nThe launcher creates a new canvas when the path does not exist. An existing path\nmust point to a document generated by `@codegraphy-dev/tldraw`.\n\nThe output path does not select the indexed workspace. CodeGraphy always indexes\nthe current working directory.\n\n## Refresh after workspace changes\n\n1. Keep the canvas open or close it.\n2. Change files in the workspace.\n3. Run the same launcher command again:\n\n   ```sh\n   codegraphy-tldraw\n   ```\n\n   For a named canvas, include the same path:\n\n   ```sh\n   codegraphy-tldraw /tmp/my-workspace-graph.tldraw\n   ```\n\nIf the canvas is open, CodeGraphy updates it in place. If it is closed,\nCodeGraphy updates the saved document and opens it. Refresh preserves:\n\n- user-created notes, drawings, images, and other media\n- surviving nodes' positions, manual sizes, and styles\n- saved force-control values\n\nThe launcher exits after each run. It does not start a daemon or filesystem\nwatcher.\n\n## Try the package from source\n\nUse this path to test an unreleased checkout:\n\n1. Clone the repository and enter it:\n\n   ```sh\n   git clone https://github.com/joesobo/CodeGraphyV4.git\n   cd CodeGraphyV4\n   ```\n\n2. Install the repository package manager and dependencies:\n\n   ```sh\n   npm install --global pnpm@10.32.0\n   pnpm install\n   ```\n\n3. Build the tldraw package and its workspace dependencies:\n\n   ```sh\n   pnpm exec turbo run build --filter @codegraphy-dev/tldraw\n   ```\n\n4. Run the built launcher against the complete `examples/` workspace. Use a\n   path that does not exist to guarantee a new canvas:\n\n   ```sh\n   cd examples\n   node ../packages/tldraw/dist/codegraphy-tldraw.js \\\n     /tmp/CodeGraphy-example.tldraw\n   ```\n\n5. Select **Run Script** in tldraw offline. Run the same command again to test\n   an in-place refresh.\n\n## Node sizes\n\nFile nodes use a stable cool categorical theme and embedded white Material Icon\nTheme icons. Files with no visible connections use an 80-unit diameter.\nConnected files grow on a bounded square-root scale from 110 to 300 units.\n\nRefresh preserves a node that you resized manually. Use a new output path when\nyou want to inspect the current generated size bands without preserved canvas\nedits:\n\n```sh\ncodegraphy-tldraw /tmp/CodeGraphy-fresh-size-test.tldraw\n```\n\n## Force physics\n\nThe document runs WebAssembly force physics from\n`@codegraphy-dev/graph-renderer`. Node size controls collision spacing and repel\nstrength. Resizing a node restarts the layout with the new size.\n\nThe canvas includes these controls:\n\n| Control | Default | Range |\n|---|---:|---:|\n| Repel Force | `10` | `0–20` |\n| Center Force | `0.10` | `0–1` |\n| Link Distance | `80` | `5–100` |\n| Link Force | `1.00` | `0–2` |\n\nChanges apply to the active graph and remain saved in the document.\n\n## Inspect a node\n\nDouble-click a generated node or its file icon. CodeGraphy opens one inspector\nbelow tldraw's style panel on the right side of the canvas with:\n\n- the file name and workspace-relative path\n- the file type\n- total, incoming, and outgoing connection counts\n- each incoming and outgoing relationship\n\nDouble-click another node to update the same inspector. Click an empty part of\nthe canvas to close it. The inspector is a temporary canvas control, so it does\nnot add a shape to the saved document.\n\n## Search the graph\n\nUse the search bar at the top of the canvas to find files by their\nworkspace-relative path. Search is case-insensitive and updates while you type.\nThe canvas shows matching nodes, their icons and labels, and edges between\nmatching nodes. The filtered nodes continue to use force physics, and the camera\nfits the results when their layout settles. You cannot select hidden results.\n\nUse `*` as a wildcard. For example, `*.ts` shows TypeScript files, and `*`\nshows the complete graph.\n\nClear the search to restore the complete graph. Search is temporary and does\nnot change the saved `.tldraw` document.\n\n## Troubleshooting\n\n### Every node looks the same size\n\nCheck whether the output path already exists. Refresh preserves older and manual\ndimensions. Run the launcher with a path that does not exist:\n\n```sh\ncodegraphy-tldraw /tmp/CodeGraphy-new-canvas.tldraw\n```\n\n### The source launcher reports `MODULE_NOT_FOUND`\n\nBuild the package again and run the launcher from `dist`:\n\n```sh\npnpm exec turbo run build --filter @codegraphy-dev/tldraw\nnode ../packages/tldraw/dist/codegraphy-tldraw.js\n```\n\nThe package does not use the old `packages/tldraw/bin/` development path.\n\n### The canvas does not update after a file change\n\nRun the same launcher command again. The MVP updates only when you run the\ncommand.\n\n### The launcher rejects an existing document\n\nChoose a path that does not exist or pass a `.tldraw` document that CodeGraphy\ncreated. The launcher rejects unsupported documents instead of replacing their\ncontents.\n","readmeFilename":"README.md"}