@visulima/vis 6.1.3 → 6.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/LICENSE.md +0 -29
- package/dashboard/dist/index.html +10 -10
- package/dist/bin.js +1 -1
- package/dist/binx.js +1 -1
- package/dist/config/index.d.ts +16 -10
- package/dist/generate/index.d.ts +25 -0
- package/dist/packem_chunks/CONFIG_FILES.js +6 -7
- package/dist/packem_chunks/bloom-status.js +1 -1
- package/dist/packem_chunks/bloom-sync.js +1 -1
- package/dist/packem_chunks/catalog2.js +7 -7
- package/dist/packem_chunks/cli-exec.js +1 -1
- package/dist/packem_chunks/cli-main.js +129 -129
- package/dist/packem_chunks/dispatch.js +1 -1
- package/dist/packem_chunks/fix.js +1 -1
- package/dist/packem_chunks/handler.js +1 -1
- package/dist/packem_chunks/handler10.js +5 -5
- package/dist/packem_chunks/handler11.js +1 -1
- package/dist/packem_chunks/handler12.js +1 -1
- package/dist/packem_chunks/handler13.js +1 -1
- package/dist/packem_chunks/handler14.js +1 -1
- package/dist/packem_chunks/handler15.js +1 -1
- package/dist/packem_chunks/handler16.js +1 -1
- package/dist/packem_chunks/handler17.js +1 -1
- package/dist/packem_chunks/handler18.js +1 -1
- package/dist/packem_chunks/handler19.js +1 -1
- package/dist/packem_chunks/handler2.js +1 -1
- package/dist/packem_chunks/handler20.js +1 -1
- package/dist/packem_chunks/handler21.js +1 -1
- package/dist/packem_chunks/handler22.js +1 -1
- package/dist/packem_chunks/handler23.js +1 -1
- package/dist/packem_chunks/handler24.js +1 -1
- package/dist/packem_chunks/handler25.js +1 -1
- package/dist/packem_chunks/handler26.js +1 -1
- package/dist/packem_chunks/handler27.js +1 -1
- package/dist/packem_chunks/handler28.js +1 -1
- package/dist/packem_chunks/handler29.js +1 -1
- package/dist/packem_chunks/handler3.js +2 -2
- package/dist/packem_chunks/handler30.js +1 -1
- package/dist/packem_chunks/handler4.js +1 -1
- package/dist/packem_chunks/handler40.js +1 -1
- package/dist/packem_chunks/handler5.js +1 -1
- package/dist/packem_chunks/handler50.js +2 -2
- package/dist/packem_chunks/handler51.js +1 -1
- package/dist/packem_chunks/handler52.js +1 -1
- package/dist/packem_chunks/handler53.js +1 -1
- package/dist/packem_chunks/handler54.js +2 -2
- package/dist/packem_chunks/handler55.js +1 -1
- package/dist/packem_chunks/handler56.js +1 -1
- package/dist/packem_chunks/handler58.js +1 -1
- package/dist/packem_chunks/handler59.js +1 -1
- package/dist/packem_chunks/handler6.js +1 -1
- package/dist/packem_chunks/handler60.js +4 -4
- package/dist/packem_chunks/handler61.js +2 -2
- package/dist/packem_chunks/handler62.js +1 -1
- package/dist/packem_chunks/handler63.js +2 -61
- package/dist/packem_chunks/handler64.js +61 -6
- package/dist/packem_chunks/handler65.js +6 -8
- package/dist/packem_chunks/handler66.js +8 -2
- package/dist/packem_chunks/handler67.js +2 -28
- package/dist/packem_chunks/handler68.js +28 -12
- package/dist/packem_chunks/handler69.js +12 -25
- package/dist/packem_chunks/handler7.js +1 -1
- package/dist/packem_chunks/handler70.js +25 -22
- package/dist/packem_chunks/handler71.js +22 -10
- package/dist/packem_chunks/handler72.js +10 -133
- package/dist/packem_chunks/handler73.js +133 -23
- package/dist/packem_chunks/handler74.js +23 -323
- package/dist/packem_chunks/handler75.js +274 -659
- package/dist/packem_chunks/handler76.js +13 -13
- package/dist/packem_chunks/handler77.js +12 -12
- package/dist/packem_chunks/handler78.js +1 -1
- package/dist/packem_chunks/handler79.js +69 -67
- package/dist/packem_chunks/handler8.js +1 -1
- package/dist/packem_chunks/handler9.js +1 -1
- package/dist/packem_chunks/heal-accept.js +1 -1
- package/dist/packem_chunks/heal.js +1 -1
- package/dist/packem_chunks/help-command.js +1 -1
- package/dist/packem_chunks/html.js +707 -0
- package/dist/packem_chunks/index4.js +1 -1
- package/dist/packem_chunks/index6.js +57 -51
- package/dist/packem_chunks/index7.js +2 -2
- package/dist/packem_chunks/keys-refresh.js +1 -1
- package/dist/packem_chunks/lean.js +1 -1
- package/dist/packem_chunks/list.js +1 -1
- package/dist/packem_chunks/loader.js +1 -1
- package/dist/packem_chunks/prune.js +1 -1
- package/dist/packem_chunks/run.js +1 -1
- package/dist/packem_chunks/status.js +1 -1
- package/dist/packem_chunks/sync.js +1 -1
- package/dist/packem_chunks/sync2.js +1 -1
- package/dist/packem_chunks/tripwire.js +1 -1
- package/dist/packem_chunks/ts-loader.js +1 -1
- package/dist/packem_chunks/verify-lockfile.js +1 -1
- package/dist/packem_shared/advisories-DHGJ6XhP.js +1 -0
- package/dist/packem_shared/affected-selection-DCT4CLex.js +1 -0
- package/dist/packem_shared/{affected-shas-B_kfSKss.js → affected-shas-CycHU3nr.js} +1 -1
- package/dist/packem_shared/{ai-analysis-qdksWsn1.js → ai-analysis-CO4rT3Nd.js} +1 -1
- package/dist/packem_shared/ai-cache-Dkb6me20.js +1 -0
- package/dist/packem_shared/{ai-fix-DEwd0QKC.js → ai-fix-C0OBhGDq.js} +1 -1
- package/dist/packem_shared/{augment-B9kSZuvW.js → augment-BSeqaai8.js} +1 -1
- package/dist/packem_shared/{bin-BND-N6AL.js → bin-DwACrJUJ.js} +1 -1
- package/dist/packem_shared/build-scripts-BeMIA-_q.js +1 -0
- package/dist/packem_shared/{command-runtime-HSsYGCQd.js → command-runtime-DG49t2MT.js} +1 -1
- package/dist/packem_shared/{dependency-scan-B1CU6P9M.js → dependency-scan-D8e370_h.js} +1 -1
- package/dist/packem_shared/detect-C-9o_BPB.js +1 -0
- package/dist/packem_shared/{docker-DXqV-07f.js → docker-vRDm2lHX.js} +1 -1
- package/dist/packem_shared/{ecosystem-gate-InIAzSPA.js → ecosystem-gate-DpO43yAS.js} +1 -1
- package/dist/packem_shared/env-BymuoTL8.js +4 -0
- package/dist/packem_shared/env-consistency-BDfAa56d.js +1 -0
- package/dist/packem_shared/{failure-log-DIsKBKaI.js → failure-log-BslhfaEO.js} +1 -1
- package/dist/packem_shared/glob-Cyk1H9ZL-6yDyaJwk.js +1 -0
- package/dist/packem_shared/{index-BzhrR_iC.js → index-0dnGN3GP.js} +1 -1
- package/dist/packem_shared/index-CIdjkZgt.js +1 -0
- package/dist/packem_shared/{index-BtVOr8mn.js → index-Cwxbl_pY.js} +1 -1
- package/dist/packem_shared/index-Doab17tq.js +1 -0
- package/dist/packem_shared/{isAccessibleSync-DYKTrrvc-C-_5cgwu.js → isAccessibleSync-DYKTrrvc-CBsMZhj-.js} +1 -1
- package/dist/packem_shared/{lifecycle-CQjeMPY0.js → lifecycle-Gy7mqMGg.js} +2 -2
- package/dist/packem_shared/{lockfile-CiUtEbnt.js → lockfile-DEWjBrlY.js} +1 -1
- package/dist/packem_shared/manifests-kE5OweNT.js +1 -0
- package/dist/packem_shared/{min-release-age-JViyQuBM.js → min-release-age-yvuPbJ8G.js} +1 -1
- package/dist/packem_shared/missing-package-json-CEEPXqYi.js +1 -0
- package/dist/packem_shared/{multi-eco-lockfiles-h_HBOpPX.js → multi-eco-lockfiles-D5tM7pkg.js} +1 -1
- package/dist/packem_shared/{native-config-sync-TdTWjVgI.js → native-config-sync-DDGt3vvd.js} +1 -1
- package/dist/packem_shared/{npmrc-CHsOyMvA.js → npmrc-CIvOb61L.js} +1 -1
- package/dist/packem_shared/{osv-BLj4LauP.js → osv-4kFhXIoW.js} +1 -1
- package/dist/packem_shared/osv-bloom-DU6avR2k.js +2 -0
- package/dist/packem_shared/package-version-x7sPg2TM.js +4 -0
- package/dist/packem_shared/packument-Dg8cIDYR.js +1 -0
- package/dist/packem_shared/{pm-runner-RM72mDZg.js → pm-runner-Dboj-wZG.js} +1 -1
- package/dist/packem_shared/{project-name-filter-C6ObyhZ4.js → project-name-filter-B3tKt-Pf.js} +1 -1
- package/dist/packem_shared/{provenance-SX1MxPUZ.js → provenance-BG5mu0H_.js} +1 -1
- package/dist/packem_shared/registry-CndByNx9.js +85 -0
- package/dist/packem_shared/registry-keys-CE-RZlp_.js +1 -0
- package/dist/packem_shared/{removeSync-g1D5kONg-LbjATA8v.js → removeSync-g1D5kONg-jOsRSIIv.js} +1 -1
- package/dist/packem_shared/{renderToString-DR0zDUjh-5WQEQBtg.js → renderToString-DR0zDUjh-DeiCwydO.js} +1 -1
- package/dist/packem_shared/{resolve-explicit-D9kdTNvl.js → resolve-explicit-Cge6eKPt.js} +1 -1
- package/dist/packem_shared/{resolve-runtime-DNukUjIr.js → resolve-runtime-D8rxuo3J.js} +1 -1
- package/dist/packem_shared/run-CKL4VGzQ.js +10 -0
- package/dist/packem_shared/{run-file-UBukWaha.js → run-file-D1mlOnd8.js} +1 -1
- package/dist/packem_shared/{run-summary-utils-CMeURYtS.js → run-summary-utils-DbyeUM6f.js} +1 -1
- package/dist/packem_shared/runtime-check-Dw0q3X67.js +1 -0
- package/dist/packem_shared/s1ngularity-BOl0c716.js +1 -0
- package/dist/packem_shared/{scaffold-files-02tUvEKC.js → scaffold-files-B8zMyMvq.js} +1 -1
- package/dist/packem_shared/{scan-progress-D_POj2sy.js → scan-progress-CY3XIDOY.js} +1 -1
- package/dist/packem_shared/selectors-BB0yaWyK.js +3 -0
- package/dist/packem_shared/{signatures-CeL0bOEo.js → signatures-r1SeDHLL.js} +1 -1
- package/dist/packem_shared/spinner-B_rRdoro.js +1 -0
- package/dist/packem_shared/{table-bf3rvDd-.js → table-bu4cV-it.js} +1 -1
- package/dist/packem_shared/{tabs-CvrVM8BU.js → tabs-A2EUpTHt.js} +1 -1
- package/dist/packem_shared/target-merge-ya19LiWB.js +1 -0
- package/dist/packem_shared/{target-options-DsHFmRZH.js → target-options-rIthWS4M.js} +1 -1
- package/dist/packem_shared/{task-env-C2lmxvzA.js → task-env-Cl4jNMCR.js} +1 -1
- package/dist/packem_shared/toolchain-Bt93i37e.js +5 -0
- package/dist/packem_shared/typosquats-BbebOgKM.js +1 -0
- package/dist/packem_shared/{use-measured-height-CQ-qYCmz.js → use-measured-height-CwhybDI9.js} +1 -1
- package/dist/packem_shared/{verify-B_MblU_Q.js → verify-3WE9U_Bv.js} +1 -1
- package/dist/packem_shared/{vis-update-app-a93HLRLX.js → vis-update-app-PjJWvxqF.js} +1 -1
- package/dist/packem_shared/{vis-user-error-Cpb0P6VA.js → vis-user-error-BivZDkQD.js} +2 -2
- package/dist/packem_shared/{watch-CcTketln.js → watch-C-9-PD2m.js} +1 -1
- package/dist/packem_shared/{watch-loop-CGPe21AK.js → watch-loop-dWYGUQwi.js} +1 -1
- package/dist/release/plugin-sdk.d.ts +32 -0
- package/dist/release/presets.d.ts +38 -0
- package/dist/runtime/preload.js +1 -1
- package/index.js +26 -26
- package/package.json +19 -15
- package/schemas/vis-config.schema.json +12 -0
- package/dist/packem_shared/advisories-BKsh48bi.js +0 -1
- package/dist/packem_shared/affected-selection-C7rvg_xC.js +0 -1
- package/dist/packem_shared/ai-cache-iSIyY3So.js +0 -1
- package/dist/packem_shared/build-scripts-CEDx_nJp.js +0 -1
- package/dist/packem_shared/detect-CbMRSXkM.js +0 -1
- package/dist/packem_shared/env-BSXG3QKH.js +0 -4
- package/dist/packem_shared/env-consistency-B4rU4MQb.js +0 -1
- package/dist/packem_shared/glob-Cyk1H9ZL-DlsGNNhY.js +0 -1
- package/dist/packem_shared/index-BS3mFsh-.js +0 -1
- package/dist/packem_shared/manifests-Du4yKlf_.js +0 -1
- package/dist/packem_shared/missing-package-json-DDVQ_scH.js +0 -1
- package/dist/packem_shared/osv-bloom-BCAX5ARR.js +0 -2
- package/dist/packem_shared/package-version-D0b8b41D.js +0 -4
- package/dist/packem_shared/packument-CbTmbHU4.js +0 -1
- package/dist/packem_shared/readJsonSync-CbryXYxN-EWl7_7KX.js +0 -1
- package/dist/packem_shared/registry-B6LWRK9T.js +0 -81
- package/dist/packem_shared/registry-keys-z038Ecb4.js +0 -1
- package/dist/packem_shared/run-DLvd3RIZ.js +0 -10
- package/dist/packem_shared/runtime-check-D3cRDuoi.js +0 -1
- package/dist/packem_shared/s1ngularity-BuU9Cxpy.js +0 -1
- package/dist/packem_shared/selectors-edwcgNl3.js +0 -3
- package/dist/packem_shared/spinner-8fJUI_wl.js +0 -1
- package/dist/packem_shared/target-merge-DVJl-7Qz.js +0 -4
- package/dist/packem_shared/toolchain-CP79HNVy.js +0 -5
- package/dist/packem_shared/typosquats-BFKus_aM.js +0 -1
- package/dist/packem_shared/writeFileSync-DJoHk3Ks-BPRoepNw.js +0 -1
|
@@ -0,0 +1,707 @@
|
|
|
1
|
+
import{createRequire as Ae}from"node:module";import Pe from"graphology";import{g as Ue}from"../packem_shared/_commonjsHelpers-DTfxOvZk.js";import{d as je}from"../packem_shared/anolilab-text-CAM_E6uK.js";let De;const _e=l=>(De??=Ae(import.meta.url))(l),M=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,ve=l=>{if(typeof M<"u"&&M.versions&&M.versions.node){const[h,r]=M.versions.node.split(".").map(Number);if(h>22||h===22&&r>=3||h===20&&r>=16)return M.getBuiltinModule(l)}return _e(l)},{readFileSync:Le}=ve("node:fs"),{createRequire:Oe}=ve("node:module"),{join:Fe,dirname:Ge}=ve("node:path");var he,ye;function qe(){return ye||(ye=1,he=function(h){return h!==null&&typeof h=="object"&&typeof h.addUndirectedEdgeWithKey=="function"&&typeof h.dropNode=="function"&&typeof h.multi=="boolean"}),he}var ee={},xe;function $e(){if(xe)return ee;xe=1;function l(n){return typeof n!="number"||isNaN(n)?1:n}function h(n,u){var s={},i=function(c){return typeof c>"u"?u:c};typeof u=="function"&&(i=u);var p=function(c){return i(c[n])},b=function(){return i(void 0)};return typeof n=="string"?(s.fromAttributes=p,s.fromGraph=function(c,f){return p(c.getNodeAttributes(f))},s.fromEntry=function(c,f){return p(f)}):typeof n=="function"?(s.fromAttributes=function(){throw new Error("graphology-utils/getters/createNodeValueGetter: irrelevant usage.")},s.fromGraph=function(c,f){return i(n(f,c.getNodeAttributes(f)))},s.fromEntry=function(c,f){return i(n(c,f))}):(s.fromAttributes=b,s.fromGraph=b,s.fromEntry=b),s}function r(n,u){var s={},i=function(c){return typeof c>"u"?u:c};typeof u=="function"&&(i=u);var p=function(c){return i(c[n])},b=function(){return i(void 0)};return typeof n=="string"?(s.fromAttributes=p,s.fromGraph=function(c,f){return p(c.getEdgeAttributes(f))},s.fromEntry=function(c,f){return p(f)},s.fromPartialEntry=s.fromEntry,s.fromMinimalEntry=s.fromEntry):typeof n=="function"?(s.fromAttributes=function(){throw new Error("graphology-utils/getters/createEdgeValueGetter: irrelevant usage.")},s.fromGraph=function(c,f){var S=c.extremities(f);return i(n(f,c.getEdgeAttributes(f),S[0],S[1],c.getNodeAttributes(S[0]),c.getNodeAttributes(S[1]),c.isUndirected(f)))},s.fromEntry=function(c,f,S,O,v,x,E){return i(n(c,f,S,O,v,x,E))},s.fromPartialEntry=function(c,f,S,O){return i(n(c,f,S,O))},s.fromMinimalEntry=function(c,f){return i(n(c,f))}):(s.fromAttributes=b,s.fromGraph=b,s.fromEntry=b,s.fromMinimalEntry=b),s}return ee.createNodeValueGetter=h,ee.createEdgeValueGetter=r,ee.createEdgeWeightGetter=function(n){return r(n,l)},ee}var ue,ke;function He(){if(ke)return ue;ke=1;var l=0,h=1,r=2,n=3,u=4,s=5,i=6,p=7,b=8,c=9,f=0,S=1,O=2,v=0,x=1,E=2,L=3,D=4,C=5,T=6,P=7,U=8,we=3,G=10,Re=3,A=9,de=10;return ue=function(I,e,te){var pe,o,t,k,z,B,X,_,m,fe,j=e.length,ze=te.length,Y=I.adjustSizes,Te=I.barnesHutTheta*I.barnesHutTheta,ae,R,w,y,q,g,d,a=[];for(t=0;t<j;t+=G)e[t+u]=e[t+r],e[t+s]=e[t+n],e[t+r]=0,e[t+n]=0;if(I.outboundAttractionDistribution){for(ae=0,t=0;t<j;t+=G)ae+=e[t+i];ae/=j/G}if(I.barnesHutOptimize){var W=1/0,K=-1/0,V=1/0,Z=-1/0,F,J,ge;for(t=0;t<j;t+=G)W=Math.min(W,e[t+l]),K=Math.max(K,e[t+l]),V=Math.min(V,e[t+h]),Z=Math.max(Z,e[t+h]);var re=K-W,ne=Z-V;for(re>ne?(V-=(re-ne)/2,Z=V+re):(W-=(ne-re)/2,K=W+ne),a[0+v]=-1,a[0+x]=(W+K)/2,a[0+E]=(V+Z)/2,a[0+L]=Math.max(K-W,Z-V),a[0+D]=-1,a[0+C]=-1,a[0+T]=0,a[0+P]=0,a[0+U]=0,pe=1,t=0;t<j;t+=G)for(o=0,ge=we;;)if(a[o+C]>=0){e[t+l]<a[o+x]?e[t+h]<a[o+E]?F=a[o+C]:F=a[o+C]+A:e[t+h]<a[o+E]?F=a[o+C]+A*2:F=a[o+C]+A*3,a[o+P]=(a[o+P]*a[o+T]+e[t+l]*e[t+i])/(a[o+T]+e[t+i]),a[o+U]=(a[o+U]*a[o+T]+e[t+h]*e[t+i])/(a[o+T]+e[t+i]),a[o+T]+=e[t+i],o=F;continue}else if(a[o+v]<0){a[o+v]=t;break}else{if(a[o+C]=pe*A,_=a[o+L]/2,m=a[o+C],a[m+v]=-1,a[m+x]=a[o+x]-_,a[m+E]=a[o+E]-_,a[m+L]=_,a[m+D]=m+A,a[m+C]=-1,a[m+T]=0,a[m+P]=0,a[m+U]=0,m+=A,a[m+v]=-1,a[m+x]=a[o+x]-_,a[m+E]=a[o+E]+_,a[m+L]=_,a[m+D]=m+A,a[m+C]=-1,a[m+T]=0,a[m+P]=0,a[m+U]=0,m+=A,a[m+v]=-1,a[m+x]=a[o+x]+_,a[m+E]=a[o+E]-_,a[m+L]=_,a[m+D]=m+A,a[m+C]=-1,a[m+T]=0,a[m+P]=0,a[m+U]=0,m+=A,a[m+v]=-1,a[m+x]=a[o+x]+_,a[m+E]=a[o+E]+_,a[m+L]=_,a[m+D]=a[o+D],a[m+C]=-1,a[m+T]=0,a[m+P]=0,a[m+U]=0,pe+=4,e[a[o+v]+l]<a[o+x]?e[a[o+v]+h]<a[o+E]?F=a[o+C]:F=a[o+C]+A:e[a[o+v]+h]<a[o+E]?F=a[o+C]+A*2:F=a[o+C]+A*3,a[o+T]=e[a[o+v]+i],a[o+P]=e[a[o+v]+l],a[o+U]=e[a[o+v]+h],a[F+v]=a[o+v],a[o+v]=-1,e[t+l]<a[o+x]?e[t+h]<a[o+E]?J=a[o+C]:J=a[o+C]+A:e[t+h]<a[o+E]?J=a[o+C]+A*2:J=a[o+C]+A*3,F===J)if(ge--){o=F;continue}else{ge=we;break}a[J+v]=t;break}}if(I.barnesHutOptimize)for(R=I.scalingRatio,t=0;t<j;t+=G)for(o=0;;)if(a[o+C]>=0)if(g=Math.pow(e[t+l]-a[o+P],2)+Math.pow(e[t+h]-a[o+U],2),fe=a[o+L],4*fe*fe/g<Te){if(w=e[t+l]-a[o+P],y=e[t+h]-a[o+U],Y===!0?g>0?(d=R*e[t+i]*a[o+T]/g,e[t+r]+=w*d,e[t+n]+=y*d):g<0&&(d=-R*e[t+i]*a[o+T]/Math.sqrt(g),e[t+r]+=w*d,e[t+n]+=y*d):g>0&&(d=R*e[t+i]*a[o+T]/g,e[t+r]+=w*d,e[t+n]+=y*d),o=a[o+D],o<0)break;continue}else{o=a[o+C];continue}else{if(B=a[o+v],B>=0&&B!==t&&(w=e[t+l]-e[B+l],y=e[t+h]-e[B+h],g=w*w+y*y,Y===!0?g>0?(d=R*e[t+i]*e[B+i]/g,e[t+r]+=w*d,e[t+n]+=y*d):g<0&&(d=-R*e[t+i]*e[B+i]/Math.sqrt(g),e[t+r]+=w*d,e[t+n]+=y*d):g>0&&(d=R*e[t+i]*e[B+i]/g,e[t+r]+=w*d,e[t+n]+=y*d)),o=a[o+D],o<0)break;continue}else for(R=I.scalingRatio,k=0;k<j;k+=G)for(z=0;z<k;z+=G)w=e[k+l]-e[z+l],y=e[k+h]-e[z+h],Y===!0?(g=Math.sqrt(w*w+y*y)-e[k+b]-e[z+b],g>0?(d=R*e[k+i]*e[z+i]/g/g,e[k+r]+=w*d,e[k+n]+=y*d,e[z+r]-=w*d,e[z+n]-=y*d):g<0&&(d=100*R*e[k+i]*e[z+i],e[k+r]+=w*d,e[k+n]+=y*d,e[z+r]-=w*d,e[z+n]-=y*d)):(g=Math.sqrt(w*w+y*y),g>0&&(d=R*e[k+i]*e[z+i]/g/g,e[k+r]+=w*d,e[k+n]+=y*d,e[z+r]-=w*d,e[z+n]-=y*d));for(m=I.gravity/I.scalingRatio,R=I.scalingRatio,t=0;t<j;t+=G)d=0,w=e[t+l],y=e[t+h],g=Math.sqrt(Math.pow(w,2)+Math.pow(y,2)),I.strongGravityMode?g>0&&(d=R*e[t+i]*m):g>0&&(d=R*e[t+i]*m/g),e[t+r]-=w*d,e[t+n]-=y*d;for(R=1*(I.outboundAttractionDistribution?ae:1),X=0;X<ze;X+=Re)k=te[X+f],z=te[X+S],_=te[X+O],q=Math.pow(_,I.edgeWeightInfluence),w=e[k+l]-e[z+l],y=e[k+h]-e[z+h],Y===!0?(g=Math.sqrt(w*w+y*y)-e[k+b]-e[z+b],I.linLogMode?I.outboundAttractionDistribution?g>0&&(d=-R*q*Math.log(1+g)/g/e[k+i]):g>0&&(d=-R*q*Math.log(1+g)/g):I.outboundAttractionDistribution?g>0&&(d=-R*q/e[k+i]):g>0&&(d=-R*q)):(g=Math.sqrt(Math.pow(w,2)+Math.pow(y,2)),I.linLogMode?I.outboundAttractionDistribution?g>0&&(d=-R*q*Math.log(1+g)/g/e[k+i]):g>0&&(d=-R*q*Math.log(1+g)/g):I.outboundAttractionDistribution?(g=1,d=-R*q/e[k+i]):(g=1,d=-R*q)),g>0&&(e[k+r]+=w*d,e[k+n]+=y*d,e[z+r]-=w*d,e[z+n]-=y*d);var oe,N,ie,Q,se,le;if(Y===!0)for(t=0;t<j;t+=G)e[t+c]!==1&&(oe=Math.sqrt(Math.pow(e[t+r],2)+Math.pow(e[t+n],2)),oe>de&&(e[t+r]=e[t+r]*de/oe,e[t+n]=e[t+n]*de/oe),N=e[t+i]*Math.sqrt((e[t+u]-e[t+r])*(e[t+u]-e[t+r])+(e[t+s]-e[t+n])*(e[t+s]-e[t+n])),ie=Math.sqrt((e[t+u]+e[t+r])*(e[t+u]+e[t+r])+(e[t+s]+e[t+n])*(e[t+s]+e[t+n]))/2,Q=.1*Math.log(1+ie)/(1+Math.sqrt(N)),se=e[t+l]+e[t+r]*(Q/I.slowDown),e[t+l]=se,le=e[t+h]+e[t+n]*(Q/I.slowDown),e[t+h]=le);else for(t=0;t<j;t+=G)e[t+c]!==1&&(N=e[t+i]*Math.sqrt((e[t+u]-e[t+r])*(e[t+u]-e[t+r])+(e[t+s]-e[t+n])*(e[t+s]-e[t+n])),ie=Math.sqrt((e[t+u]+e[t+r])*(e[t+u]+e[t+r])+(e[t+s]+e[t+n])*(e[t+s]+e[t+n]))/2,Q=e[t+p]*Math.log(1+ie)/(1+Math.sqrt(N)),e[t+p]=Math.min(1,Math.sqrt(Q*(Math.pow(e[t+r],2)+Math.pow(e[t+n],2))/(1+Math.sqrt(N)))),se=e[t+l]+e[t+r]*(Q/I.slowDown),e[t+l]=se,le=e[t+h]+e[t+n]*(Q/I.slowDown),e[t+h]=le);return{}},ue}var $={},Ee;function Be(){if(Ee)return $;Ee=1;var l=10,h=3;return $.assign=function(r){r=r||{};var n=Array.prototype.slice.call(arguments).slice(1),u,s,i;for(u=0,i=n.length;u<i;u++)if(n[u])for(s in n[u])r[s]=n[u][s];return r},$.validateSettings=function(r){return"linLogMode"in r&&typeof r.linLogMode!="boolean"?{message:"the `linLogMode` setting should be a boolean."}:"outboundAttractionDistribution"in r&&typeof r.outboundAttractionDistribution!="boolean"?{message:"the `outboundAttractionDistribution` setting should be a boolean."}:"adjustSizes"in r&&typeof r.adjustSizes!="boolean"?{message:"the `adjustSizes` setting should be a boolean."}:"edgeWeightInfluence"in r&&typeof r.edgeWeightInfluence!="number"?{message:"the `edgeWeightInfluence` setting should be a number."}:"scalingRatio"in r&&!(typeof r.scalingRatio=="number"&&r.scalingRatio>=0)?{message:"the `scalingRatio` setting should be a number >= 0."}:"strongGravityMode"in r&&typeof r.strongGravityMode!="boolean"?{message:"the `strongGravityMode` setting should be a boolean."}:"gravity"in r&&!(typeof r.gravity=="number"&&r.gravity>=0)?{message:"the `gravity` setting should be a number >= 0."}:"slowDown"in r&&!(typeof r.slowDown=="number"||r.slowDown>=0)?{message:"the `slowDown` setting should be a number >= 0."}:"barnesHutOptimize"in r&&typeof r.barnesHutOptimize!="boolean"?{message:"the `barnesHutOptimize` setting should be a boolean."}:"barnesHutTheta"in r&&!(typeof r.barnesHutTheta=="number"&&r.barnesHutTheta>=0)?{message:"the `barnesHutTheta` setting should be a number >= 0."}:null},$.graphToByteArrays=function(r,n){var u=r.order,s=r.size,i={},p,b=new Float32Array(u*l),c=new Float32Array(s*h);return p=0,r.forEachNode(function(f,S){i[f]=p,b[p]=S.x,b[p+1]=S.y,b[p+2]=0,b[p+3]=0,b[p+4]=0,b[p+5]=0,b[p+6]=1,b[p+7]=1,b[p+8]=S.size||1,b[p+9]=S.fixed?1:0,p+=l}),p=0,r.forEachEdge(function(f,S,O,v,x,E,L){var D=i[O],C=i[v],T=n(f,S,O,v,x,E,L);b[D+6]+=T,b[C+6]+=T,c[p]=D,c[p+1]=C,c[p+2]=T,p+=h}),{nodes:b,edges:c}},$.assignLayoutChanges=function(r,n,u){var s=0;r.updateEachNodeAttributes(function(i,p){return p.x=n[s],p.y=n[s+1],s+=l,u?u(i,p):p})},$.readGraphPositions=function(r,n){var u=0;r.forEachNode(function(s,i){n[u]=i.x,n[u+1]=i.y,u+=l})},$.collectLayoutChanges=function(r,n,u){for(var s=r.nodes(),i={},p=0,b=0,c=n.length;p<c;p+=l){if(u){var f=Object.assign({},r.getNodeAttributes(s[b]));f.x=n[p],f.y=n[p+1],f=u(s[b],f),i[s[b]]={x:f.x,y:f.y}}else i[s[b]]={x:n[p],y:n[p+1]};b++}return i},$.createWorker=function(n){var u=window.URL||window.webkitURL,s=n.toString(),i=u.createObjectURL(new Blob(["("+s+").call(this);"],{type:"text/javascript"})),p=new Worker(i);return u.revokeObjectURL(i),p},$}var me,Ce;function We(){return Ce||(Ce=1,me={linLogMode:!1,outboundAttractionDistribution:!1,adjustSizes:!1,edgeWeightInfluence:1,scalingRatio:1,strongGravityMode:!1,gravity:1,slowDown:1,barnesHutOptimize:!1,barnesHutTheta:.5}),me}var be,Ie;function Ve(){if(Ie)return be;Ie=1;var l=qe(),h=$e().createEdgeWeightGetter,r=He(),n=Be(),u=We();function s(b,c,f){if(!l(c))throw new Error("graphology-layout-forceatlas2: the given graph is not a valid graphology instance.");typeof f=="number"&&(f={iterations:f});var S=f.iterations;if(typeof S!="number")throw new Error("graphology-layout-forceatlas2: invalid number of iterations.");if(S<=0)throw new Error("graphology-layout-forceatlas2: you should provide a positive number of iterations.");var O=h("getEdgeWeight"in f?f.getEdgeWeight:"weight").fromEntry,v=typeof f.outputReducer=="function"?f.outputReducer:null,x=n.assign({},u,f.settings),E=n.validateSettings(x);if(E)throw new Error("graphology-layout-forceatlas2: "+E.message);var L=n.graphToByteArrays(c,O),D;for(D=0;D<S;D++)r(x,L.nodes,L.edges);if(b){n.assignLayoutChanges(c,L.nodes,v);return}return n.collectLayoutChanges(c,L.nodes)}function i(b){var c=typeof b=="number"?b:b.order;return{barnesHutOptimize:c>2e3,strongGravityMode:!0,gravity:.05,scalingRatio:10,slowDown:1+Math.log(c)}}var p=s.bind(null,!1);return p.assign=s.bind(null,!0),p.inferSettings=i,be=p,be}var Qe=Ve();const Se=Ue(Qe);var Xe=`/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-content:""}}}@layer theme{:root,:host{--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-light:300;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-normal:0em;--leading-tight:1.25;--leading-snug:1.375;--radius-sm:.25rem;--ease-out:cubic-bezier(0, 0, .2, 1);--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--sans);--default-mono-font-family:var(--mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{--bg:#f5f5f5;--panel:#fff;--panel2:#f0f0f0;--fg:#000;--muted:#555;--faint:#707070;--border:#e0e0e0;--border2:#bdbdbd;--row-hover:#f0f0f0;--accent:#d71921;--accent-soft:#d719210d;--link:#0050c0;--node-app:#000;--node-lib:#707070;--edge:#bdbdbd;--edge-faint:#e0e0e0;--mono:ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;--sans:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif}@media (prefers-color-scheme:dark){:root{--bg:#141414;--panel:#1c1c1c;--panel2:#242424;--fg:#fff;--muted:#b8b8b8;--faint:#8a8a8a;--border:#2e2e2e;--border2:#3e3e3e;--row-hover:#1f1f1f;--accent:#ff4d54;--accent-soft:#ff4d5414;--link:#7eb0f9;--node-app:#fff;--node-lib:#8a8a8a;--edge:#3e3e3e;--edge-faint:#2e2e2e}}html[data-theme=light]{--bg:#f5f5f5;--panel:#fff;--panel2:#f0f0f0;--fg:#000;--muted:#555;--faint:#707070;--border:#e0e0e0;--border2:#bdbdbd;--row-hover:#f0f0f0;--accent:#d71921;--accent-soft:#d719210d;--link:#0050c0;--node-app:#000;--node-lib:#707070;--edge:#bdbdbd;--edge-faint:#e0e0e0}html[data-theme=dark]{--bg:#141414;--panel:#1c1c1c;--panel2:#242424;--fg:#fff;--muted:#b8b8b8;--faint:#8a8a8a;--border:#2e2e2e;--border2:#3e3e3e;--row-hover:#1f1f1f;--accent:#ff4d54;--accent-soft:#ff4d5414;--link:#7eb0f9;--node-app:#fff;--node-lib:#8a8a8a;--edge:#3e3e3e;--edge-faint:#2e2e2e}body{background-image:radial-gradient(circle, var(--border) .5px, transparent .5px);font-feature-settings:"ss01";background-size:14px 14px}}@layer components{.tbtn-theme [data-icon=moon]{display:inline-flex}.tbtn-theme [data-icon=sun]{display:none}@media (prefers-color-scheme:dark){.tbtn-theme [data-icon=moon]{display:none}.tbtn-theme [data-icon=sun]{display:inline-flex}}html[data-theme=light] .tbtn-theme [data-icon=moon]{display:inline-flex}html[data-theme=light] .tbtn-theme [data-icon=sun],html[data-theme=dark] .tbtn-theme [data-icon=moon]{display:none}html[data-theme=dark] .tbtn-theme [data-icon=sun]{display:inline-flex}.anolilab-logo{width:auto;height:13px;fill:var(--fg)}.anolilab-accent{fill:#dfff1b}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.top-0{top:0}.top-3{top:calc(var(--spacing) * 3)}.top-4{top:calc(var(--spacing) * 4)}.top-full{top:100%}.right-0{right:0}.right-4{right:calc(var(--spacing) * 4)}.bottom-4{bottom:calc(var(--spacing) * 4)}.bottom-5{bottom:calc(var(--spacing) * 5)}.left-0{left:0}.left-4{left:calc(var(--spacing) * 4)}.isolate{isolation:isolate}.z-20{z-index:20}.z-30{z-index:30}.z-\\[2\\]{z-index:2}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-8{margin:calc(var(--spacing) * 8)}.m-9{margin:calc(var(--spacing) * 9)}.mx-1{margin-inline:var(--spacing)}.mx-12{margin-inline:calc(var(--spacing) * 12)}.mx-\\[0\\.12em\\]{margin-inline:.12em}.mx-auto{margin-inline:auto}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-10{margin-bottom:calc(var(--spacing) * 10)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-8{margin-left:calc(var(--spacing) * 8)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-\\[7px\\]{width:7px;height:7px}.h-2{height:calc(var(--spacing) * 2)}.h-5{height:calc(var(--spacing) * 5)}.h-7{height:calc(var(--spacing) * 7)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-\\[6px\\]{height:6px}.h-\\[7px\\]{height:7px}.h-\\[8px\\]{height:8px}.h-\\[10px\\]{height:10px}.h-\\[18px\\]{height:18px}.h-full{height:100%}.h-px{height:1px}.max-h-72{max-height:calc(var(--spacing) * 72)}.min-h-\\[400px\\]{min-height:400px}.min-h-\\[480px\\]{min-height:480px}.min-h-screen{min-height:100vh}.w-2{width:calc(var(--spacing) * 2)}.w-3{width:calc(var(--spacing) * 3)}.w-4{width:calc(var(--spacing) * 4)}.w-7{width:calc(var(--spacing) * 7)}.w-9{width:calc(var(--spacing) * 9)}.w-\\[7px\\]{width:7px}.w-\\[8px\\]{width:8px}.w-full{width:100%}.w-px{width:1px}.max-w-\\[380px\\]{max-width:380px}.max-w-\\[1080px\\]{max-width:1080px}.min-w-0{min-width:0}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-\\[200px\\]{min-width:200px}.min-w-\\[220px\\]{min-width:220px}.min-w-\\[260px\\]{min-width:260px}.flex-1{flex:1}.flex-\\[1_1_280px\\]{flex:280px}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\\[72px_1fr\\]{grid-template-columns:72px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:0}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-16{gap:calc(var(--spacing) * 16)}.gap-\\[0\\.65rem\\]{gap:.65rem}.gap-\\[2px\\]{gap:2px}.gap-\\[7px\\]{gap:7px}.gap-px{gap:1px}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[3px\\]{border-radius:3px}.rounded-\\[4px\\]{border-radius:4px}.rounded-full{border-radius:3.40282e38px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-accent,.border-accent\\/60{border-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.border-accent\\/60{border-color:color-mix(in oklab, var(--accent) 60%, transparent)}}.border-border{border-color:var(--border)}.border-border2{border-color:var(--border2)}.border-fg{border-color:var(--fg)}.border-link{border-color:var(--link)}.bg-accent{background-color:var(--accent)}.bg-accent-soft{background-color:var(--accent-soft)}.bg-accent\\/40{background-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.bg-accent\\/40{background-color:color-mix(in oklab, var(--accent) 40%, transparent)}}.bg-bg,.bg-bg\\/40{background-color:var(--bg)}@supports (color:color-mix(in lab, red, red)){.bg-bg\\/40{background-color:color-mix(in oklab, var(--bg) 40%, transparent)}}.bg-border{background-color:var(--border)}.bg-border2{background-color:var(--border2)}.bg-edge{background-color:var(--edge)}.bg-edge-faint{background-color:var(--edge-faint)}.bg-fg{background-color:var(--fg)}.bg-node-app{background-color:var(--node-app)}.bg-node-lib{background-color:var(--node-lib)}.bg-panel,.bg-panel\\/95{background-color:var(--panel)}@supports (color:color-mix(in lab, red, red)){.bg-panel\\/95{background-color:color-mix(in oklab, var(--panel) 95%, transparent)}}.bg-panel2{background-color:var(--panel2)}.bg-transparent{background-color:#0000}.p-0{padding:0}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-0{padding-inline:0}.px-0\\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-12{padding-inline:calc(var(--spacing) * 12)}.px-\\[5px\\]{padding-inline:5px}.px-\\[6px\\]{padding-inline:6px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-16{padding-block:calc(var(--spacing) * 16)}.py-\\[3px\\]{padding-block:3px}.py-px{padding-block:1px}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-7{padding-top:calc(var(--spacing) * 7)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-12{padding-top:calc(var(--spacing) * 12)}.pr-0{padding-right:0}.pr-1{padding-right:var(--spacing)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-1234{padding-right:calc(var(--spacing) * 1234)}.pb-1{padding-bottom:var(--spacing)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pb-12{padding-bottom:calc(var(--spacing) * 12)}.pl-0{padding-left:0}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-\\[7px\\]{padding-left:7px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-top{vertical-align:top}.font-mono{font-family:var(--mono)}.font-sans{font-family:var(--sans)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[15px\\]{font-size:15px}.text-\\[22px\\]{font-size:22px}.text-\\[28px\\]{font-size:28px}.text-\\[44px\\]{font-size:44px}.text-\\[72px\\]{font-size:72px}.text-\\[clamp\\(28px\\,5vw\\,52px\\)\\]{font-size:clamp(28px,5vw,52px)}.leading-\\[0\\.9\\]{--tw-leading:.9;line-height:.9}.leading-none{--tw-leading:1;line-height:1}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[-0\\.02em\\]{--tw-tracking:-.02em;letter-spacing:-.02em}.tracking-\\[0\\.1em\\]{--tw-tracking:.1em;letter-spacing:.1em}.tracking-\\[0\\.05em\\]{--tw-tracking:.05em;letter-spacing:.05em}.tracking-\\[0\\.08em\\]{--tw-tracking:.08em;letter-spacing:.08em}.tracking-\\[0\\.11em\\]{--tw-tracking:.11em;letter-spacing:.11em}.tracking-\\[0\\.12em\\]{--tw-tracking:.12em;letter-spacing:.12em}.tracking-\\[0\\.15em\\]{--tw-tracking:.15em;letter-spacing:.15em}.tracking-\\[0\\.16em\\]{--tw-tracking:.16em;letter-spacing:.16em}.tracking-\\[0\\.22em\\]{--tw-tracking:.22em;letter-spacing:.22em}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-accent{color:var(--accent)}.text-bg{color:var(--bg)}.text-faint{color:var(--faint)}.text-fg{color:var(--fg)}.text-link{color:var(--link)}.text-muted{color:var(--muted)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.opacity-40{opacity:.4}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_4px_12px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\]{--tw-shadow:0 4px 12px var(--tw-shadow-color,#00000014);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_8px_24px_rgba\\(0\\,0\\,0\\,0\\.12\\)\\]{--tw-shadow:0 8px 24px var(--tw-shadow-color,#0000001f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.select-none{-webkit-user-select:none;user-select:none}.\\[notifications\\:\\<id\\>\\]{notifications:<id>}.\\[notifications\\:slack\\]{notifications:slack}.\\[notifications\\:teams\\]{notifications:teams}.\\[verdaccio\\:dry-run\\]{verdaccio:dry-run}.group-data-\\[state\\=off\\]\\:opacity-30:is(:where(.group)[data-state=off] *){opacity:.3}.placeholder\\:text-faint::placeholder{color:var(--faint)}.before\\:absolute:before{content:var(--tw-content);position:absolute}.before\\:left-0:before{content:var(--tw-content);left:0}.before\\:text-faint:before{content:var(--tw-content);color:var(--faint)}.before\\:content-\\[\\'→\\'\\]:before{--tw-content:"→";content:var(--tw-content)}.after\\:ml-auto:after{content:var(--tw-content);margin-left:auto}.after\\:font-mono:after{content:var(--tw-content);font-family:var(--mono)}.after\\:text-\\[9px\\]:after{content:var(--tw-content);font-size:9px}.after\\:tracking-\\[0\\.1em\\]:after{content:var(--tw-content);--tw-tracking:.1em;letter-spacing:.1em}.after\\:text-accent:after{content:var(--tw-content);color:var(--accent)}.after\\:content-\\[\\'ON\\'\\]:after{--tw-content:"ON";content:var(--tw-content)}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\\:border-fg:focus-within{border-color:var(--fg)}@media (hover:hover){.hover\\:border-fg:hover{border-color:var(--fg)}.hover\\:bg-accent:hover{background-color:var(--accent)}.hover\\:bg-row-hover:hover{background-color:var(--row-hover)}.hover\\:text-accent:hover{color:var(--accent)}.hover\\:text-fg:hover{color:var(--fg)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:opacity-90:hover{opacity:.9}}.focus-visible\\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-fg:focus-visible{--tw-ring-color:var(--fg)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:opacity-40:disabled{opacity:.4}.aria-selected\\:bg-row-hover[aria-selected=true]{background-color:var(--row-hover)}.data-\\[open\\=false\\]\\:hidden[data-open=false]{display:none}.data-\\[pinned\\=true\\]\\:pointer-events-auto[data-pinned=true]{pointer-events:auto}.data-\\[pinned\\=true\\]\\:border-accent[data-pinned=true]{border-color:var(--accent)}.data-\\[state\\=off\\]\\:text-faint[data-state=off]{color:var(--faint)}.data-\\[state\\=off\\]\\:line-through[data-state=off]{text-decoration-line:line-through}.data-\\[state\\=off\\]\\:after\\:text-faint[data-state=off]:after{content:var(--tw-content);color:var(--faint)}.data-\\[state\\=off\\]\\:after\\:content-\\[\\'OFF\\'\\][data-state=off]:after{--tw-content:"OFF";content:var(--tw-content)}.data-\\[state\\=selected\\]\\:bg-row-hover[data-state=selected]{background-color:var(--row-hover)}.data-\\[state\\=zero\\]\\:text-accent[data-state=zero]{color:var(--accent)}@media (min-width:40rem){.sm\\:min-w-\\[320px\\]{min-width:320px}}@media (min-width:48rem){.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\\:grid-cols-\\[1\\.4fr_1fr\\]{grid-template-columns:1.4fr 1fr}}.\\[\\&_svg\\]\\:size-\\[14px\\] svg{width:14px;height:14px}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_tr\\]\\:border-b-0 tr{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\\[\\&\\>\\*\\+\\*\\]\\:ml-6>*+*{margin-left:calc(var(--spacing) * 6)}.\\[\\&\\>\\*\\+\\*\\]\\:border-l>*+*{border-left-style:var(--tw-border-style);border-left-width:1px}.\\[\\&\\>\\*\\+\\*\\]\\:border-border>*+*{border-color:var(--border)}.\\[\\&\\>\\*\\+\\*\\]\\:pl-6>*+*{padding-left:calc(var(--spacing) * 6)}.\\[\\&\\>td\\]\\:border-b>td{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\\[\\&\\>td\\]\\:border-border>td{border-color:var(--border)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`;const Ke=Xe,Ze=Oe(import.meta.url),ce=(l,h)=>{const r=Ze.resolve(l);return Le(Fe(Ge(r),h),"utf8")},Je=()=>({floatingUiCoreUmd:ce("@floating-ui/core","floating-ui.core.umd.min.js"),floatingUiDomUmd:ce("@floating-ui/dom","floating-ui.dom.umd.min.js"),graphologyUmd:ce("graphology","graphology.umd.min.js"),sigmaUmd:ce("sigma","sigma.min.js")}),Ye='<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>',Ne='<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M2 12h2m16 0h2M4.93 19.07l1.41-1.41m11.32-11.32 1.41-1.41"/></svg>',H=l=>l.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">").replaceAll('"',""").replaceAll("'","'"),Me=9,et=4,tt=(l,h)=>{if(l.length===0)return[];const r=new Pe({multi:!0,type:"directed"});for(const s of l){const i=r.order/l.length*Math.PI*2;r.addNode(s.name,{path:s.path,size:s.type==="application"?Me:et,type:s.type,x:Math.cos(i),y:Math.sin(i)})}for(const s of h)r.hasNode(s.source)&&r.hasNode(s.target)&&r.addEdge(s.source,s.target,{type:s.type});const n=Se.inferSettings(r);Se.assign(r,{iterations:600,settings:{...n,adjustSizes:!0,barnesHutOptimize:r.order>100,gravity:1.2,linLogMode:!0,scalingRatio:8,slowDown:4}});const u=[];return r.forEachNode((s,i)=>{u.push({name:s,path:i.path,size:i.size,type:i.type,x:i.x,y:i.y})}),u},st=l=>{const{floatingUiCoreUmd:h,floatingUiDomUmd:r,graphologyUmd:n,sigmaUmd:u}=Je(),s=l.now??new Date,i=l.nodes.filter(x=>x.type==="application").length,p=l.nodes.length-i,b=tt(l.nodes,l.edges),c=new Set(b.map(x=>x.name)),f=l.edges.filter(x=>c.has(x.source)&&c.has(x.target)),S={edges:f,nodes:b},O=l.nodes.length===0,v={chip:"font-mono tracking-[0.08em] text-muted border border-border2 inline-flex h-7 items-center justify-center rounded-[4px] px-3 text-[11px] font-medium uppercase",dvNum:"font-mono text-[22px] font-medium text-fg leading-none",labelMono:"font-mono text-[10px] uppercase tracking-[0.15em] text-faint"};return`<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
<title>${H(l.tool.name)} graph · ${H(s.toISOString().slice(0,10))}</title>
|
|
8
|
+
<style>${Ke}</style>
|
|
9
|
+
</head>
|
|
10
|
+
<body class="bg-bg text-fg">
|
|
11
|
+
<div class="min-h-screen flex flex-col">
|
|
12
|
+
<header class="flex flex-wrap items-end gap-4 px-8 pt-8 pb-5">
|
|
13
|
+
<div class="font-sans text-[clamp(28px,5vw,52px)] font-semibold text-fg leading-none tracking-tight">${(()=>{const[x,...E]=l.tool.name.split("-");return E.length>0?`${H(x??l.tool.name)}<span class="text-accent mx-[0.12em] font-light">/</span>${H(E.join("-"))}`:H(l.tool.name)})()}<span class="font-mono tracking-[0.22em] text-faint mt-3 block text-[10px] font-medium uppercase">dependency graph</span></div>
|
|
14
|
+
<span class="flex-auto"></span>
|
|
15
|
+
<span class="${v.chip}">v${H(l.tool.version)}</span>
|
|
16
|
+
<button id="theme" class="tbtn-theme font-mono text-muted border border-border2 inline-flex h-7 w-9 cursor-pointer items-center justify-center rounded-[4px] bg-transparent transition-colors duration-150 hover:text-fg hover:border-fg" type="button" aria-label="Toggle color theme" title="Toggle color theme"><span data-icon="moon" class="items-center justify-center">${Ye}</span><span data-icon="sun" class="items-center justify-center">${Ne}</span></button>
|
|
17
|
+
</header>
|
|
18
|
+
<div class="flex flex-wrap items-end gap-6 px-8 pt-5 pb-5 border-b border-border">
|
|
19
|
+
<div class="flex flex-wrap items-stretch gap-0 [&>*+*]:pl-6 [&>*+*]:ml-6 [&>*+*]:border-l [&>*+*]:border-border">
|
|
20
|
+
<div class="flex items-baseline gap-[0.65rem]"><span class="${v.labelMono}">apps</span><span class="${v.dvNum}">${String(i)}</span></div>
|
|
21
|
+
<div class="flex items-baseline gap-[0.65rem]"><span class="${v.labelMono}">libraries</span><span class="${v.dvNum}">${String(p)}</span></div>
|
|
22
|
+
<div class="flex items-baseline gap-[0.65rem]"><span class="${v.labelMono}">dependencies</span><span class="${v.dvNum}">${String(f.length)}</span></div>
|
|
23
|
+
</div>
|
|
24
|
+
<span class="flex-auto"></span>
|
|
25
|
+
<div class="relative min-w-[260px] sm:min-w-[320px] ml-auto">
|
|
26
|
+
<label class="flex items-center gap-3 border-b border-border2 transition-colors duration-150 hover:border-fg focus-within:border-fg pb-1.5">
|
|
27
|
+
<span class="${v.labelMono} select-none">find:</span>
|
|
28
|
+
<input id="filter" type="search" class="w-full min-w-0 border-0 bg-transparent py-0.5 text-fg text-[12px] font-mono outline-0 placeholder:text-faint" placeholder="package name…" aria-label="Filter packages" autocomplete="off" spellcheck="false" />
|
|
29
|
+
<span id="filter-count" data-state="" class="font-mono text-faint text-[10px] tracking-[0.05em] shrink-0 select-none data-[state=zero]:text-accent" aria-live="polite"></span>
|
|
30
|
+
</label>
|
|
31
|
+
<div id="filter-results" data-open="false" class="data-[open=false]:hidden absolute z-20 top-full left-0 right-0 mt-2 bg-panel border border-border max-h-72 overflow-y-auto shadow-[0_4px_12px_rgba(0,0,0,0.08)]" role="listbox" aria-label="Matching packages"></div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<main class="relative flex-1 min-h-[480px]">${O?'<div class="flex flex-col items-center justify-center min-h-[400px] gap-4 text-center"><div class="font-sans text-[72px] font-semibold text-fg leading-none tracking-tight">NONE</div><div class="font-mono text-faint text-[12px] uppercase tracking-[0.15em]">No projects discovered in this workspace.</div></div>':`<div id="graph" class="absolute inset-0"></div>
|
|
35
|
+
<div id="tooltip" data-pinned="false" class="fixed z-30 top-0 left-0 hidden bg-panel border border-border2 px-4 py-3 max-w-[380px] pointer-events-none font-sans shadow-[0_8px_24px_rgba(0,0,0,0.12)] data-[pinned=true]:pointer-events-auto data-[pinned=true]:border-accent"></div>
|
|
36
|
+
<div id="legend" class="absolute top-4 right-4 bg-panel/95 backdrop-blur-sm border border-border px-4 py-3 min-w-[200px]">
|
|
37
|
+
<div class="${v.labelMono} mb-2">Filter</div>
|
|
38
|
+
<div data-toggle="app" data-state="on" class="group flex items-center gap-3 py-1 cursor-pointer text-[12px] text-fg select-none transition-colors hover:text-accent data-[state=off]:line-through data-[state=off]:text-faint after:content-['ON'] after:font-mono after:text-[9px] after:tracking-[0.1em] after:ml-auto after:text-accent data-[state=off]:after:content-['OFF'] data-[state=off]:after:text-faint" role="switch" aria-checked="true" tabindex="0"><span class="inline-block w-2 h-2 rounded-full bg-node-app shrink-0 group-data-[state=off]:opacity-30"></span>Application</div>
|
|
39
|
+
<div data-toggle="lib" data-state="on" class="group flex items-center gap-3 py-1 cursor-pointer text-[12px] text-fg select-none transition-colors hover:text-accent data-[state=off]:line-through data-[state=off]:text-faint after:content-['ON'] after:font-mono after:text-[9px] after:tracking-[0.1em] after:ml-auto after:text-accent data-[state=off]:after:content-['OFF'] data-[state=off]:after:text-faint" role="switch" aria-checked="true" tabindex="0"><span class="inline-block w-2 h-2 rounded-full bg-node-lib shrink-0 group-data-[state=off]:opacity-30"></span>Library</div>
|
|
40
|
+
<div data-toggle="prod" data-state="on" class="group flex items-center gap-3 py-1 cursor-pointer text-[12px] text-fg select-none transition-colors hover:text-accent data-[state=off]:line-through data-[state=off]:text-faint after:content-['ON'] after:font-mono after:text-[9px] after:tracking-[0.1em] after:ml-auto after:text-accent data-[state=off]:after:content-['OFF'] data-[state=off]:after:text-faint" role="switch" aria-checked="true" tabindex="0"><span class="inline-block w-4 h-px bg-edge shrink-0 group-data-[state=off]:opacity-30"></span>Static dep</div>
|
|
41
|
+
<div data-toggle="dev" data-state="on" class="group flex items-center gap-3 py-1 cursor-pointer text-[12px] text-fg select-none transition-colors hover:text-accent data-[state=off]:line-through data-[state=off]:text-faint after:content-['ON'] after:font-mono after:text-[9px] after:tracking-[0.1em] after:ml-auto after:text-accent data-[state=off]:after:content-['OFF'] data-[state=off]:after:text-faint" role="switch" aria-checked="true" tabindex="0"><span class="inline-block w-4 h-px bg-edge-faint shrink-0 group-data-[state=off]:opacity-30"></span>Dev / implicit</div>
|
|
42
|
+
<div data-toggle="peer" data-state="on" class="group flex items-center gap-3 py-1 cursor-pointer text-[12px] text-fg select-none transition-colors hover:text-accent data-[state=off]:line-through data-[state=off]:text-faint after:content-['ON'] after:font-mono after:text-[9px] after:tracking-[0.1em] after:ml-auto after:text-accent data-[state=off]:after:content-['OFF'] data-[state=off]:after:text-faint" role="switch" aria-checked="true" tabindex="0"><span class="inline-block w-4 h-px bg-accent shrink-0 group-data-[state=off]:opacity-30"></span>Peer</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="absolute bottom-4 left-4 flex flex-wrap items-center gap-x-6 gap-y-2 bg-panel/95 backdrop-blur-sm border border-border px-4 py-2 font-mono text-[10px] uppercase tracking-[0.15em] text-faint">
|
|
45
|
+
<div class="flex items-center gap-2"><span class="inline-flex h-5 min-w-5 items-center justify-center px-1.5 border border-border2 rounded text-fg bg-panel2 normal-case tracking-normal text-[10px]">/</span><span>Search</span></div>
|
|
46
|
+
<div class="flex items-center gap-2"><span class="inline-flex h-5 min-w-5 items-center justify-center px-1.5 border border-border2 rounded text-fg bg-panel2 normal-case tracking-normal text-[10px]">R</span><span>Fit view</span></div>
|
|
47
|
+
<div class="flex items-center gap-2"><span class="inline-flex h-5 min-w-5 items-center justify-center px-1.5 border border-border2 rounded text-fg bg-panel2 normal-case tracking-normal text-[10px]">Click</span><span>Pin · click empty to unpin</span></div>
|
|
48
|
+
</div>`}</main>
|
|
49
|
+
<footer class="flex flex-wrap items-center justify-between gap-x-6 gap-y-3 px-8 py-4 text-[10px] uppercase border-t border-border font-mono text-faint tracking-[0.1em]">
|
|
50
|
+
<span><b class="text-fg font-semibold">${H(l.tool.name)}</b> ${H(l.tool.version)} · generated ${H(s.toISOString())}</span>
|
|
51
|
+
<span class="inline-flex items-center gap-2"><span>built by</span><a class="sig-by-link inline-flex items-center" href="https://anolilab.com" rel="noreferrer noopener" target="_blank" aria-label="Anolilab">${je}</a></span>
|
|
52
|
+
</footer>
|
|
53
|
+
</div>
|
|
54
|
+
<script>${n}<\/script>
|
|
55
|
+
<script>${u}<\/script>
|
|
56
|
+
<script>${h}<\/script>
|
|
57
|
+
<script>${r}<\/script>
|
|
58
|
+
<script>
|
|
59
|
+
(() => {
|
|
60
|
+
const root = document.documentElement;
|
|
61
|
+
const themeBtn = document.getElementById('theme');
|
|
62
|
+
const mql = window.matchMedia('(prefers-color-scheme: dark)');
|
|
63
|
+
|
|
64
|
+
try {
|
|
65
|
+
const stored = localStorage.getItem('vis-graph-theme');
|
|
66
|
+
if (stored === 'light' || stored === 'dark') {
|
|
67
|
+
root.dataset.theme = stored;
|
|
68
|
+
}
|
|
69
|
+
} catch {}
|
|
70
|
+
|
|
71
|
+
const data = ${JSON.stringify(S).replaceAll("</",String.raw`<\/`)};
|
|
72
|
+
if (!data.nodes.length || !window.graphology || !window.Sigma) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Reusable Tailwind utility-class strings for dynamically-created elements.
|
|
77
|
+
// Inline-everywhere is the system of record; these strings only exist
|
|
78
|
+
// because the JS DOM API can't read Tailwind from the markup.
|
|
79
|
+
const CLS = {
|
|
80
|
+
ttlName: 'font-sans text-fg text-[13px] font-semibold leading-tight mb-1 break-words',
|
|
81
|
+
ttlType: 'font-mono text-faint text-[10px] uppercase tracking-[0.15em]',
|
|
82
|
+
ttlPath: 'font-mono text-muted text-[10px] mt-2 break-all',
|
|
83
|
+
ttlSection: 'font-mono text-faint text-[10px] uppercase tracking-[0.15em] mt-3 mb-1',
|
|
84
|
+
ttlEmpty: 'font-mono text-faint text-[10px] italic mt-2',
|
|
85
|
+
ttlMore: 'font-mono text-faint text-[10px] italic pl-3 mt-1',
|
|
86
|
+
ttlUl: 'mt-1 space-y-0.5',
|
|
87
|
+
ttlLi: "font-mono text-fg text-[11px] leading-snug pl-3 relative before:content-['→'] before:text-faint before:absolute before:left-0",
|
|
88
|
+
matchItem: 'flex items-center justify-between gap-3 px-3 py-2 cursor-pointer text-[12px] hover:bg-row-hover aria-selected:bg-row-hover',
|
|
89
|
+
miName: 'font-sans text-fg truncate',
|
|
90
|
+
miMark: 'bg-accent-soft text-accent rounded-sm px-0.5',
|
|
91
|
+
miKind: 'font-mono text-faint text-[10px] uppercase tracking-[0.15em] shrink-0',
|
|
92
|
+
matchEmpty: 'font-mono text-faint text-[10px] uppercase tracking-[0.15em] px-3 py-3',
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
// Read live colors from the rendered CSS so theme switches stay in one
|
|
96
|
+
// place: change vars → call sigma.refresh() and node/edge colors update.
|
|
97
|
+
const css = () => {
|
|
98
|
+
const s = getComputedStyle(root);
|
|
99
|
+
return {
|
|
100
|
+
app: s.getPropertyValue('--node-app').trim(),
|
|
101
|
+
lib: s.getPropertyValue('--node-lib').trim(),
|
|
102
|
+
edge: s.getPropertyValue('--edge').trim(),
|
|
103
|
+
edgeFaint: s.getPropertyValue('--edge-faint').trim(),
|
|
104
|
+
accent: s.getPropertyValue('--accent').trim(),
|
|
105
|
+
fg: s.getPropertyValue('--fg').trim(),
|
|
106
|
+
muted: s.getPropertyValue('--muted').trim(),
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
let theme = css();
|
|
111
|
+
|
|
112
|
+
const Graph = window.graphology.Graph || window.graphology;
|
|
113
|
+
const graph = new Graph({ multi: true, type: 'directed' });
|
|
114
|
+
|
|
115
|
+
const colorForNode = (type) => type === 'application' ? theme.app : theme.lib;
|
|
116
|
+
const colorForEdge = (type) => {
|
|
117
|
+
if (type === 'peerDependency') return theme.accent;
|
|
118
|
+
if (type === 'devDependency' || type === 'implicit') return theme.edgeFaint;
|
|
119
|
+
return theme.edge;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
// Attribute is named "kind", not "type": sigma reads node.type as its
|
|
123
|
+
// program-class name and bails when it sees "application" / "library".
|
|
124
|
+
for (const n of data.nodes) {
|
|
125
|
+
graph.addNode(n.name, {
|
|
126
|
+
x: n.x,
|
|
127
|
+
y: n.y,
|
|
128
|
+
size: n.size,
|
|
129
|
+
label: n.name,
|
|
130
|
+
kind: n.type,
|
|
131
|
+
path: n.path,
|
|
132
|
+
color: colorForNode(n.type),
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
for (const e of data.edges) {
|
|
137
|
+
graph.addEdge(e.source, e.target, {
|
|
138
|
+
color: colorForEdge(e.type),
|
|
139
|
+
depType: e.type,
|
|
140
|
+
size: 1,
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// Adjacency for tooltip & hover-emphasis.
|
|
145
|
+
const depMap = {}, rdepMap = {};
|
|
146
|
+
for (const n of data.nodes) { depMap[n.name] = []; rdepMap[n.name] = []; }
|
|
147
|
+
for (const e of data.edges) {
|
|
148
|
+
depMap[e.source].push(e.target);
|
|
149
|
+
rdepMap[e.target].push(e.source);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const container = document.getElementById('graph');
|
|
153
|
+
const tooltip = document.getElementById('tooltip');
|
|
154
|
+
const filterInput = document.getElementById('filter');
|
|
155
|
+
const filterCount = document.getElementById('filter-count');
|
|
156
|
+
const filterResults = document.getElementById('filter-results');
|
|
157
|
+
|
|
158
|
+
const renderer = new window.Sigma(graph, container, {
|
|
159
|
+
renderEdgeLabels: false,
|
|
160
|
+
labelColor: { color: theme.fg },
|
|
161
|
+
labelFont: 'system-ui, -apple-system, sans-serif',
|
|
162
|
+
labelSize: 11,
|
|
163
|
+
labelWeight: '500',
|
|
164
|
+
labelDensity: 0.7,
|
|
165
|
+
labelGridCellSize: 80,
|
|
166
|
+
defaultEdgeColor: theme.edge,
|
|
167
|
+
defaultNodeColor: theme.lib,
|
|
168
|
+
defaultEdgeType: 'arrow',
|
|
169
|
+
minCameraRatio: 0.05,
|
|
170
|
+
maxCameraRatio: 8,
|
|
171
|
+
// Suppress sigma's built-in hover label panel. We render our own tooltip,
|
|
172
|
+
// so its empty label box (the small rectangle near the cursor) is noise.
|
|
173
|
+
defaultDrawNodeHover: () => undefined,
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
// State: hover follows the mouse, focus is sticky (set by clicking a node
|
|
177
|
+
// or selecting a search result), pin keeps the tooltip locked in place.
|
|
178
|
+
let hoveredNode = null;
|
|
179
|
+
let focusedNode = null;
|
|
180
|
+
let pinned = false;
|
|
181
|
+
let filterTerm = '';
|
|
182
|
+
let matches = [];
|
|
183
|
+
let activeMatchIndex = -1;
|
|
184
|
+
|
|
185
|
+
// Legend filter state: each key toggles the visibility of a category.
|
|
186
|
+
// previewCategory is set transiently while hovering a legend row so the
|
|
187
|
+
// user can sneak-peek which lines/nodes belong to that category without
|
|
188
|
+
// committing to a toggle.
|
|
189
|
+
const visible = { app: true, lib: true, prod: true, dev: true, peer: true };
|
|
190
|
+
let previewCategory = null;
|
|
191
|
+
const isNodeCat = (k) => k === 'app' || k === 'lib';
|
|
192
|
+
const isEdgeCat = (k) => k === 'prod' || k === 'dev' || k === 'peer';
|
|
193
|
+
const edgeCategory = (depType) => {
|
|
194
|
+
if (depType === 'peerDependency') return 'peer';
|
|
195
|
+
if (depType === 'devDependency' || depType === 'implicit') return 'dev';
|
|
196
|
+
return 'prod';
|
|
197
|
+
};
|
|
198
|
+
const nodeVisible = (kind) => visible[kind === 'application' ? 'app' : 'lib'];
|
|
199
|
+
|
|
200
|
+
const activeNode = () => focusedNode || hoveredNode;
|
|
201
|
+
|
|
202
|
+
renderer.setSetting('nodeReducer', (node, attrs) => {
|
|
203
|
+
if (!nodeVisible(attrs.kind)) {
|
|
204
|
+
return { ...attrs, hidden: true, label: '' };
|
|
205
|
+
}
|
|
206
|
+
// Legend-row preview takes precedence over normal focus/hover emphasis:
|
|
207
|
+
// hovering a category gives an unambiguous "show me what's in this set".
|
|
208
|
+
if (previewCategory) {
|
|
209
|
+
const nodeCat = attrs.kind === 'application' ? 'app' : 'lib';
|
|
210
|
+
const inPreview = isNodeCat(previewCategory) ? nodeCat === previewCategory : false;
|
|
211
|
+
return {
|
|
212
|
+
...attrs,
|
|
213
|
+
color: inPreview ? attrs.color : theme.edgeFaint,
|
|
214
|
+
label: inPreview ? attrs.label : '',
|
|
215
|
+
zIndex: inPreview ? 1 : 0,
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
const active = activeNode();
|
|
219
|
+
const matchedFilter = !filterTerm || node.toLowerCase().includes(filterTerm);
|
|
220
|
+
const isActive = active === node;
|
|
221
|
+
const isRelated = active && (depMap[active]?.includes(node) || rdepMap[active]?.includes(node));
|
|
222
|
+
const dim = (filterTerm && !matchedFilter) || (active && !isActive && !isRelated);
|
|
223
|
+
return {
|
|
224
|
+
...attrs,
|
|
225
|
+
color: isActive ? theme.accent : attrs.color,
|
|
226
|
+
label: dim ? '' : attrs.label,
|
|
227
|
+
zIndex: isActive ? 2 : isRelated ? 1 : 0,
|
|
228
|
+
};
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
renderer.setSetting('edgeReducer', (edge, attrs) => {
|
|
232
|
+
if (!visible[edgeCategory(attrs.depType)]) {
|
|
233
|
+
return { ...attrs, hidden: true };
|
|
234
|
+
}
|
|
235
|
+
const ext = graph.extremities(edge);
|
|
236
|
+
if (!nodeVisible(graph.getNodeAttribute(ext[0], 'kind')) || !nodeVisible(graph.getNodeAttribute(ext[1], 'kind'))) {
|
|
237
|
+
return { ...attrs, hidden: true };
|
|
238
|
+
}
|
|
239
|
+
if (previewCategory) {
|
|
240
|
+
if (isEdgeCat(previewCategory)) {
|
|
241
|
+
const inPreview = edgeCategory(attrs.depType) === previewCategory;
|
|
242
|
+
return { ...attrs, color: inPreview ? theme.accent : theme.edgeFaint, size: inPreview ? 1.5 : 0.3, zIndex: inPreview ? 1 : 0 };
|
|
243
|
+
}
|
|
244
|
+
// Previewing a node category dims every edge — the focus is on the dots.
|
|
245
|
+
return { ...attrs, color: theme.edgeFaint, size: 0.3 };
|
|
246
|
+
}
|
|
247
|
+
const active = activeNode();
|
|
248
|
+
const touchesActive = active && (ext[0] === active || ext[1] === active);
|
|
249
|
+
if (active && !touchesActive) {
|
|
250
|
+
return { ...attrs, color: theme.edgeFaint, hidden: false, size: 0.5 };
|
|
251
|
+
}
|
|
252
|
+
if (touchesActive) {
|
|
253
|
+
return { ...attrs, color: theme.accent, size: 1.5, zIndex: 1 };
|
|
254
|
+
}
|
|
255
|
+
return attrs;
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
// Tooltip body assembled with safe DOM methods (createElement +
|
|
259
|
+
// textContent) — no innerHTML, no template strings of user data.
|
|
260
|
+
const MAX_TOOLTIP_ITEMS = 8;
|
|
261
|
+
const setTooltipContent = (name) => {
|
|
262
|
+
const node = graph.getNodeAttributes(name);
|
|
263
|
+
const deps = depMap[name] || [];
|
|
264
|
+
const rdeps = rdepMap[name] || [];
|
|
265
|
+
tooltip.textContent = '';
|
|
266
|
+
|
|
267
|
+
const nameEl = document.createElement('div');
|
|
268
|
+
nameEl.className = CLS.ttlName;
|
|
269
|
+
nameEl.textContent = name;
|
|
270
|
+
tooltip.appendChild(nameEl);
|
|
271
|
+
|
|
272
|
+
const typeEl = document.createElement('div');
|
|
273
|
+
typeEl.className = CLS.ttlType;
|
|
274
|
+
typeEl.textContent = node.kind + (pinned ? ' · pinned' : '');
|
|
275
|
+
tooltip.appendChild(typeEl);
|
|
276
|
+
|
|
277
|
+
if (node.path) {
|
|
278
|
+
const pathEl = document.createElement('div');
|
|
279
|
+
pathEl.className = CLS.ttlPath;
|
|
280
|
+
pathEl.textContent = node.path;
|
|
281
|
+
tooltip.appendChild(pathEl);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
const addSection = (label, items) => {
|
|
285
|
+
const heading = document.createElement('div');
|
|
286
|
+
heading.className = CLS.ttlSection;
|
|
287
|
+
heading.textContent = label + ' (' + items.length + ')';
|
|
288
|
+
tooltip.appendChild(heading);
|
|
289
|
+
const ul = document.createElement('ul');
|
|
290
|
+
ul.className = CLS.ttlUl;
|
|
291
|
+
const shown = items.slice(0, MAX_TOOLTIP_ITEMS);
|
|
292
|
+
for (const item of shown) {
|
|
293
|
+
const li = document.createElement('li');
|
|
294
|
+
li.className = CLS.ttlLi;
|
|
295
|
+
li.textContent = item;
|
|
296
|
+
ul.appendChild(li);
|
|
297
|
+
}
|
|
298
|
+
if (items.length > MAX_TOOLTIP_ITEMS) {
|
|
299
|
+
const more = document.createElement('li');
|
|
300
|
+
more.className = CLS.ttlMore;
|
|
301
|
+
more.textContent = (items.length - MAX_TOOLTIP_ITEMS) + ' more';
|
|
302
|
+
ul.appendChild(more);
|
|
303
|
+
}
|
|
304
|
+
tooltip.appendChild(ul);
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
if (deps.length) addSection('Depends on', deps);
|
|
308
|
+
if (rdeps.length) addSection('Required by', rdeps);
|
|
309
|
+
if (!deps.length && !rdeps.length) {
|
|
310
|
+
const empty = document.createElement('div');
|
|
311
|
+
empty.className = CLS.ttlEmpty;
|
|
312
|
+
empty.textContent = 'No dependencies';
|
|
313
|
+
tooltip.appendChild(empty);
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
// Tooltip placement delegated to Floating UI. We build a virtual reference
|
|
318
|
+
// element that either follows the cursor (hover) or anchors to a node's
|
|
319
|
+
// viewport position (pinned), then run computePosition with flip + shift +
|
|
320
|
+
// size middleware so the tooltip always fits the viewport.
|
|
321
|
+
const FUI = window.FloatingUIDOM;
|
|
322
|
+
let lastMouse = null;
|
|
323
|
+
let anchorMode = 'cursor'; // 'cursor' (follows mouse) or 'node' (sticky to node)
|
|
324
|
+
let anchorNode = null;
|
|
325
|
+
let cleanupAutoUpdate = null;
|
|
326
|
+
|
|
327
|
+
const cursorRef = {
|
|
328
|
+
getBoundingClientRect() {
|
|
329
|
+
const x = lastMouse ? lastMouse.clientX : 0;
|
|
330
|
+
const y = lastMouse ? lastMouse.clientY : 0;
|
|
331
|
+
return { width: 0, height: 0, x, y, top: y, left: x, right: x, bottom: y };
|
|
332
|
+
},
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
const nodeRef = {
|
|
336
|
+
getBoundingClientRect() {
|
|
337
|
+
if (!anchorNode || !graph.hasNode(anchorNode)) {
|
|
338
|
+
return { width: 0, height: 0, x: 0, y: 0, top: 0, left: 0, right: 0, bottom: 0 };
|
|
339
|
+
}
|
|
340
|
+
const pos = renderer.getNodeDisplayData(anchorNode);
|
|
341
|
+
const vp = renderer.graphToViewport({ x: pos.x, y: pos.y });
|
|
342
|
+
const rect = container.getBoundingClientRect();
|
|
343
|
+
const r = (pos.size || 4) + 4;
|
|
344
|
+
const cx = rect.left + vp.x;
|
|
345
|
+
const cy = rect.top + vp.y;
|
|
346
|
+
return { width: r * 2, height: r * 2, x: cx - r, y: cy - r, top: cy - r, left: cx - r, right: cx + r, bottom: cy + r };
|
|
347
|
+
},
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
const updatePosition = async () => {
|
|
351
|
+
if (tooltip.style.display !== 'block') return;
|
|
352
|
+
const ref = anchorMode === 'node' ? nodeRef : cursorRef;
|
|
353
|
+
const { x, y } = await FUI.computePosition(ref, tooltip, {
|
|
354
|
+
placement: 'right-start',
|
|
355
|
+
strategy: 'fixed',
|
|
356
|
+
middleware: [
|
|
357
|
+
FUI.offset(12),
|
|
358
|
+
FUI.flip({ fallbackPlacements: ['left-start', 'right-end', 'left-end', 'top', 'bottom'] }),
|
|
359
|
+
FUI.shift({ padding: 12 }),
|
|
360
|
+
FUI.size({
|
|
361
|
+
padding: 12,
|
|
362
|
+
apply({ availableWidth, availableHeight, elements }) {
|
|
363
|
+
const maxW = Math.min(380, Math.max(220, availableWidth));
|
|
364
|
+
const maxH = Math.max(160, availableHeight);
|
|
365
|
+
Object.assign(elements.floating.style, {
|
|
366
|
+
maxWidth: maxW + 'px',
|
|
367
|
+
maxHeight: maxH + 'px',
|
|
368
|
+
overflowY: 'auto',
|
|
369
|
+
});
|
|
370
|
+
},
|
|
371
|
+
}),
|
|
372
|
+
],
|
|
373
|
+
});
|
|
374
|
+
Object.assign(tooltip.style, { left: x + 'px', top: y + 'px' });
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
const stopAutoUpdate = () => {
|
|
378
|
+
if (cleanupAutoUpdate) { cleanupAutoUpdate(); cleanupAutoUpdate = null; }
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
// Auto-update is only used for the node-anchored (pinned) mode, where the
|
|
382
|
+
// reference is stable across events but its viewport position changes when
|
|
383
|
+
// the user pans, zooms, or resizes. In cursor mode we drive recomputation
|
|
384
|
+
// ourselves from the mousemove handler.
|
|
385
|
+
const startAutoUpdate = () => {
|
|
386
|
+
stopAutoUpdate();
|
|
387
|
+
if (anchorMode === 'node') {
|
|
388
|
+
cleanupAutoUpdate = FUI.autoUpdate(nodeRef, tooltip, updatePosition);
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
const showTooltipFor = (name, mode = 'cursor') => {
|
|
393
|
+
anchorMode = mode;
|
|
394
|
+
anchorNode = mode === 'node' ? name : null;
|
|
395
|
+
setTooltipContent(name);
|
|
396
|
+
tooltip.style.display = 'block';
|
|
397
|
+
startAutoUpdate();
|
|
398
|
+
updatePosition();
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
const hideTooltip = () => {
|
|
402
|
+
stopAutoUpdate();
|
|
403
|
+
tooltip.style.display = 'none';
|
|
404
|
+
tooltip.dataset.pinned = 'false';
|
|
405
|
+
anchorNode = null;
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
renderer.on('enterNode', (e) => {
|
|
409
|
+
hoveredNode = e.node;
|
|
410
|
+
if (!pinned) showTooltipFor(e.node, 'cursor');
|
|
411
|
+
renderer.refresh({ skipIndexation: true });
|
|
412
|
+
});
|
|
413
|
+
|
|
414
|
+
renderer.on('leaveNode', () => {
|
|
415
|
+
hoveredNode = null;
|
|
416
|
+
if (!pinned) hideTooltip();
|
|
417
|
+
renderer.refresh({ skipIndexation: true });
|
|
418
|
+
});
|
|
419
|
+
|
|
420
|
+
// Click a node to pin it; the anchor switches from the cursor to the node
|
|
421
|
+
// so the tooltip stays attached even when the mouse moves away.
|
|
422
|
+
renderer.on('clickNode', (e) => {
|
|
423
|
+
focusedNode = e.node;
|
|
424
|
+
pinned = true;
|
|
425
|
+
tooltip.dataset.pinned = 'true';
|
|
426
|
+
showTooltipFor(e.node, 'node');
|
|
427
|
+
renderer.refresh({ skipIndexation: true });
|
|
428
|
+
});
|
|
429
|
+
|
|
430
|
+
renderer.on('clickStage', () => {
|
|
431
|
+
if (pinned || focusedNode) {
|
|
432
|
+
focusedNode = null;
|
|
433
|
+
pinned = false;
|
|
434
|
+
tooltip.dataset.pinned = 'false';
|
|
435
|
+
if (hoveredNode) {
|
|
436
|
+
showTooltipFor(hoveredNode, 'cursor');
|
|
437
|
+
} else {
|
|
438
|
+
hideTooltip();
|
|
439
|
+
}
|
|
440
|
+
renderer.refresh({ skipIndexation: true });
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
let posRafQueued = false;
|
|
445
|
+
container.addEventListener('mousemove', (e) => {
|
|
446
|
+
lastMouse = { clientX: e.clientX, clientY: e.clientY };
|
|
447
|
+
if (anchorMode === 'cursor' && tooltip.style.display === 'block' && !posRafQueued) {
|
|
448
|
+
posRafQueued = true;
|
|
449
|
+
requestAnimationFrame(() => {
|
|
450
|
+
posRafQueued = false;
|
|
451
|
+
updatePosition();
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
|
|
456
|
+
const focusOnNode = (name, { pin = true } = {}) => {
|
|
457
|
+
if (!graph.hasNode(name)) return;
|
|
458
|
+
const pos = renderer.getNodeDisplayData(name);
|
|
459
|
+
if (pos) renderer.getCamera().animate({ x: pos.x, y: pos.y, ratio: 0.3 }, { duration: 600 });
|
|
460
|
+
focusedNode = name;
|
|
461
|
+
pinned = pin;
|
|
462
|
+
if (pin) tooltip.dataset.pinned = 'true';
|
|
463
|
+
showTooltipFor(name, pin ? 'node' : 'cursor');
|
|
464
|
+
renderer.refresh({ skipIndexation: true });
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
// ── Search results ───────────────────────────────────────────────────
|
|
468
|
+
const totalNodes = data.nodes.length;
|
|
469
|
+
const renderResults = () => {
|
|
470
|
+
filterResults.textContent = '';
|
|
471
|
+
if (!filterTerm) {
|
|
472
|
+
filterResults.dataset.open = 'false';
|
|
473
|
+
filterCount.textContent = '';
|
|
474
|
+
filterCount.dataset.state = '';
|
|
475
|
+
activeMatchIndex = -1;
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
filterCount.textContent = matches.length + ' / ' + totalNodes;
|
|
479
|
+
filterCount.dataset.state = matches.length === 0 ? 'zero' : '';
|
|
480
|
+
if (matches.length === 0) {
|
|
481
|
+
const empty = document.createElement('div');
|
|
482
|
+
empty.className = CLS.matchEmpty;
|
|
483
|
+
const b = document.createElement('b'); b.textContent = 'No matches'; b.className = 'text-fg';
|
|
484
|
+
empty.appendChild(b);
|
|
485
|
+
empty.appendChild(document.createTextNode(' for "' + filterTerm + '"'));
|
|
486
|
+
filterResults.appendChild(empty);
|
|
487
|
+
filterResults.dataset.open = 'true';
|
|
488
|
+
activeMatchIndex = -1;
|
|
489
|
+
return;
|
|
490
|
+
}
|
|
491
|
+
const limit = Math.min(matches.length, 24);
|
|
492
|
+
for (let i = 0; i < limit; i++) {
|
|
493
|
+
const m = matches[i];
|
|
494
|
+
const row = document.createElement('div');
|
|
495
|
+
row.className = CLS.matchItem;
|
|
496
|
+
row.setAttribute('role', 'option');
|
|
497
|
+
row.dataset.index = String(i);
|
|
498
|
+
if (i === activeMatchIndex) row.setAttribute('aria-selected', 'true');
|
|
499
|
+
|
|
500
|
+
const nameEl = document.createElement('span');
|
|
501
|
+
nameEl.className = CLS.miName;
|
|
502
|
+
const idx = m.name.toLowerCase().indexOf(filterTerm);
|
|
503
|
+
if (idx >= 0) {
|
|
504
|
+
nameEl.appendChild(document.createTextNode(m.name.slice(0, idx)));
|
|
505
|
+
const mark = document.createElement('mark');
|
|
506
|
+
mark.className = CLS.miMark;
|
|
507
|
+
mark.textContent = m.name.slice(idx, idx + filterTerm.length);
|
|
508
|
+
nameEl.appendChild(mark);
|
|
509
|
+
nameEl.appendChild(document.createTextNode(m.name.slice(idx + filterTerm.length)));
|
|
510
|
+
} else {
|
|
511
|
+
nameEl.textContent = m.name;
|
|
512
|
+
}
|
|
513
|
+
row.appendChild(nameEl);
|
|
514
|
+
|
|
515
|
+
const kindEl = document.createElement('span');
|
|
516
|
+
kindEl.className = CLS.miKind;
|
|
517
|
+
kindEl.textContent = m.type === 'application' ? 'app' : 'lib';
|
|
518
|
+
row.appendChild(kindEl);
|
|
519
|
+
|
|
520
|
+
row.addEventListener('mousedown', (ev) => {
|
|
521
|
+
ev.preventDefault();
|
|
522
|
+
focusOnNode(m.name);
|
|
523
|
+
filterResults.dataset.open = 'false';
|
|
524
|
+
});
|
|
525
|
+
filterResults.appendChild(row);
|
|
526
|
+
}
|
|
527
|
+
if (matches.length > limit) {
|
|
528
|
+
const more = document.createElement('div');
|
|
529
|
+
more.className = CLS.matchEmpty;
|
|
530
|
+
more.textContent = '+ ' + (matches.length - limit) + ' more — refine to see';
|
|
531
|
+
filterResults.appendChild(more);
|
|
532
|
+
}
|
|
533
|
+
filterResults.dataset.open = 'true';
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
const recomputeMatches = () => {
|
|
537
|
+
if (!filterTerm) { matches = []; return; }
|
|
538
|
+
matches = [];
|
|
539
|
+
for (const n of data.nodes) {
|
|
540
|
+
if (n.name.toLowerCase().includes(filterTerm)) matches.push(n);
|
|
541
|
+
}
|
|
542
|
+
matches.sort((a, b) => {
|
|
543
|
+
// Apps first, then by closeness of match position, then by name.
|
|
544
|
+
if (a.type !== b.type) return a.type === 'application' ? -1 : 1;
|
|
545
|
+
const ai = a.name.toLowerCase().indexOf(filterTerm);
|
|
546
|
+
const bi = b.name.toLowerCase().indexOf(filterTerm);
|
|
547
|
+
if (ai !== bi) return ai - bi;
|
|
548
|
+
return a.name.localeCompare(b.name);
|
|
549
|
+
});
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
let rafQueued = false;
|
|
553
|
+
filterInput.addEventListener('input', () => {
|
|
554
|
+
filterTerm = filterInput.value.toLowerCase().trim();
|
|
555
|
+
recomputeMatches();
|
|
556
|
+
activeMatchIndex = matches.length ? 0 : -1;
|
|
557
|
+
renderResults();
|
|
558
|
+
if (!rafQueued) {
|
|
559
|
+
rafQueued = true;
|
|
560
|
+
requestAnimationFrame(() => {
|
|
561
|
+
rafQueued = false;
|
|
562
|
+
renderer.refresh({ skipIndexation: true });
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
|
|
567
|
+
filterInput.addEventListener('focus', () => {
|
|
568
|
+
if (filterTerm) filterResults.dataset.open = 'true';
|
|
569
|
+
});
|
|
570
|
+
|
|
571
|
+
document.addEventListener('mousedown', (e) => {
|
|
572
|
+
if (!filterResults.contains(e.target) && e.target !== filterInput) {
|
|
573
|
+
filterResults.dataset.open = 'false';
|
|
574
|
+
}
|
|
575
|
+
});
|
|
576
|
+
|
|
577
|
+
filterInput.addEventListener('keydown', (e) => {
|
|
578
|
+
if (e.key === 'ArrowDown') {
|
|
579
|
+
if (matches.length) {
|
|
580
|
+
e.preventDefault();
|
|
581
|
+
activeMatchIndex = (activeMatchIndex + 1) % matches.length;
|
|
582
|
+
renderResults();
|
|
583
|
+
}
|
|
584
|
+
} else if (e.key === 'ArrowUp') {
|
|
585
|
+
if (matches.length) {
|
|
586
|
+
e.preventDefault();
|
|
587
|
+
activeMatchIndex = (activeMatchIndex - 1 + matches.length) % matches.length;
|
|
588
|
+
renderResults();
|
|
589
|
+
}
|
|
590
|
+
} else if (e.key === 'Enter') {
|
|
591
|
+
if (matches.length && activeMatchIndex >= 0) {
|
|
592
|
+
e.preventDefault();
|
|
593
|
+
focusOnNode(matches[activeMatchIndex].name);
|
|
594
|
+
filterResults.dataset.open = 'false';
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
|
|
599
|
+
// ── Legend / category filter ─────────────────────────────────────────
|
|
600
|
+
const legend = document.getElementById('legend');
|
|
601
|
+
const toggleCategory = (key) => {
|
|
602
|
+
if (!(key in visible)) return;
|
|
603
|
+
visible[key] = !visible[key];
|
|
604
|
+
const row = legend?.querySelector('[data-toggle="' + key + '"]');
|
|
605
|
+
if (row) {
|
|
606
|
+
row.dataset.state = visible[key] ? 'on' : 'off';
|
|
607
|
+
row.setAttribute('aria-checked', String(visible[key]));
|
|
608
|
+
}
|
|
609
|
+
renderer.refresh({ skipIndexation: true });
|
|
610
|
+
};
|
|
611
|
+
let previewRafQueued = false;
|
|
612
|
+
const queuePreviewRefresh = () => {
|
|
613
|
+
if (previewRafQueued) return;
|
|
614
|
+
previewRafQueued = true;
|
|
615
|
+
requestAnimationFrame(() => {
|
|
616
|
+
previewRafQueued = false;
|
|
617
|
+
renderer.refresh({ skipIndexation: true });
|
|
618
|
+
});
|
|
619
|
+
};
|
|
620
|
+
legend?.querySelectorAll('[data-toggle]').forEach((row) => {
|
|
621
|
+
row.addEventListener('click', () => toggleCategory(row.dataset.toggle));
|
|
622
|
+
row.addEventListener('mouseenter', () => {
|
|
623
|
+
previewCategory = row.dataset.toggle;
|
|
624
|
+
queuePreviewRefresh();
|
|
625
|
+
});
|
|
626
|
+
row.addEventListener('mouseleave', () => {
|
|
627
|
+
previewCategory = null;
|
|
628
|
+
queuePreviewRefresh();
|
|
629
|
+
});
|
|
630
|
+
row.addEventListener('focus', () => {
|
|
631
|
+
previewCategory = row.dataset.toggle;
|
|
632
|
+
queuePreviewRefresh();
|
|
633
|
+
});
|
|
634
|
+
row.addEventListener('blur', () => {
|
|
635
|
+
previewCategory = null;
|
|
636
|
+
queuePreviewRefresh();
|
|
637
|
+
});
|
|
638
|
+
row.addEventListener('keydown', (e) => {
|
|
639
|
+
if (e.key === ' ' || e.key === 'Enter') {
|
|
640
|
+
e.preventDefault();
|
|
641
|
+
toggleCategory(row.dataset.toggle);
|
|
642
|
+
}
|
|
643
|
+
});
|
|
644
|
+
});
|
|
645
|
+
|
|
646
|
+
// ── Camera controls ──────────────────────────────────────────────────
|
|
647
|
+
const resetView = () => {
|
|
648
|
+
renderer.getCamera().animatedReset({ duration: 600 });
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
const applyTheme = () => {
|
|
652
|
+
theme = css();
|
|
653
|
+
graph.forEachNode((node, attrs) => {
|
|
654
|
+
graph.setNodeAttribute(node, 'color', colorForNode(attrs.kind));
|
|
655
|
+
});
|
|
656
|
+
graph.forEachEdge((edge, attrs) => {
|
|
657
|
+
graph.setEdgeAttribute(edge, 'color', colorForEdge(attrs.depType));
|
|
658
|
+
});
|
|
659
|
+
renderer.setSetting('labelColor', { color: theme.fg });
|
|
660
|
+
renderer.setSetting('defaultEdgeColor', theme.edge);
|
|
661
|
+
renderer.setSetting('defaultNodeColor', theme.lib);
|
|
662
|
+
renderer.refresh();
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
themeBtn?.addEventListener('click', () => {
|
|
666
|
+
const isDark = root.dataset.theme ? root.dataset.theme === 'dark' : mql.matches;
|
|
667
|
+
const next = isDark ? 'light' : 'dark';
|
|
668
|
+
root.dataset.theme = next;
|
|
669
|
+
try { localStorage.setItem('vis-graph-theme', next); } catch {}
|
|
670
|
+
applyTheme();
|
|
671
|
+
});
|
|
672
|
+
|
|
673
|
+
mql.addEventListener('change', () => {
|
|
674
|
+
if (!root.dataset.theme) applyTheme();
|
|
675
|
+
});
|
|
676
|
+
|
|
677
|
+
// Keyboard shortcuts: '/' focuses search, 'R' fits view, Esc clears + unpins.
|
|
678
|
+
window.addEventListener('keydown', (e) => {
|
|
679
|
+
const inField = document.activeElement === filterInput;
|
|
680
|
+
if (e.key === '/' && !inField) {
|
|
681
|
+
e.preventDefault();
|
|
682
|
+
filterInput.focus();
|
|
683
|
+
filterInput.select();
|
|
684
|
+
} else if ((e.key === 'r' || e.key === 'R') && !inField) {
|
|
685
|
+
e.preventDefault();
|
|
686
|
+
resetView();
|
|
687
|
+
} else if (e.key === 'Escape') {
|
|
688
|
+
if (inField) {
|
|
689
|
+
filterInput.value = '';
|
|
690
|
+
filterTerm = '';
|
|
691
|
+
matches = [];
|
|
692
|
+
renderResults();
|
|
693
|
+
renderer.refresh({ skipIndexation: true });
|
|
694
|
+
filterInput.blur();
|
|
695
|
+
} else if (pinned || focusedNode) {
|
|
696
|
+
focusedNode = null;
|
|
697
|
+
pinned = false;
|
|
698
|
+
tooltip.dataset.pinned = 'false';
|
|
699
|
+
if (!hoveredNode) hideTooltip();
|
|
700
|
+
renderer.refresh({ skipIndexation: true });
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
});
|
|
704
|
+
})();
|
|
705
|
+
<\/script>
|
|
706
|
+
</body>
|
|
707
|
+
</html>`};export{st as emitGraphHtml};
|