const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-KV5264BT-DVUkCPKH-UX8TyXMP.js","assets/chunk-5FUZZQ4R-Cls5fS6b-8iHLCICn.js","assets/chunk-5PVQY5BW-ZS1bFUpH-DRVOTwoJ.js","assets/chunk-ICPOFSXX-Bzl23lJq-DIqk8fiF.js","assets/preload-helper-rov5CBGT.js","assets/src-DU38EUZK-DV_JaBXd.js","assets/chunk-t8Qwt55I-pSONB2Tu.js","assets/chunk-zsgVPwQN.js","assets/dist-CuNsB3ua-DS1N7huq.js","assets/identity-B3eK6bFK-BTSfj-Wx.js","assets/chunk-U2HBQHQK-TStJ2QtQ-VPluNdpm.js","assets/chunk-X2U36JSP-ZY0euJA_-BpK0MUwK.js","assets/chunk-ZZ45TVLE-CiZnD_YL-BJsTYLel.js","assets/rough.esm-k_Z-SS8D-CUZqoUP_.js","assets/chunk-ENJZ2VHE-DUQfI4hr-DI7_UH0i.js","assets/chunk-BSJP7CBP-DO3rk2LZ-5u5_gxZB.js","assets/line-C54hNi8F-DFvrSFrg.js","assets/array-CCeX_eWS-chaTJ1-P.js","assets/path-D51p9iUn-CuGVSWlg.js","assets/clone-DBahid8b-C0ELkexh.js","assets/graphlib-ZXnUe6Jb-XVRy0iJ9.js","assets/isEmpty-Dxjmg8KP-Cb-es-J5.js","assets/reduce-C8YmxejP-CDkTrop8.js","assets/dagre-BhqZYldL-DlT8xYgg.js","assets/flatten-D2Jbxvro-mW5iyAIQ.js","assets/cose-bilkent-S5V4N54A-Tm0Cq3vJ-DeQmS061.js","assets/cytoscape.esm-DEwSUzYV-C95nmzZM.js"])))=>i.map(i=>d[i]);
import{t as e}from"./preload-helper-rov5CBGT.js";import{i as t,u as n}from"./src-DU38EUZK-DV_JaBXd.js";import{C as r,u as i}from"./chunk-ICPOFSXX-Bzl23lJq-DIqk8fiF.js";import{E as a}from"./chunk-5PVQY5BW-ZS1bFUpH-DRVOTwoJ.js";import{a as o,i as s,s as c}from"./chunk-5FUZZQ4R-Cls5fS6b-8iHLCICn.js";import{a as l,i as u,n as d,r as f}from"./chunk-ENJZ2VHE-DUQfI4hr-DI7_UH0i.js";var p={common:i,getConfig:r,insertCluster:s,insertEdge:d,insertEdgeLabel:f,insertMarkers:u,insertNode:o,interpolateToCurve:a,labelHelper:c,log:n,positionEdgeLabel:l},m={},h=t(e=>{for(let t of e)m[t.name]=t},`registerLayoutLoaders`);t(()=>{h([{name:`dagre`,loader:t(async()=>await e(()=>import(`./dagre-KV5264BT-DVUkCPKH-UX8TyXMP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),`loader`)},...[{name:`cose-bilkent`,loader:t(async()=>await e(()=>import(`./cose-bilkent-S5V4N54A-Tm0Cq3vJ-DeQmS061.js`),__vite__mapDeps([25,6,7,26,5])),`loader`)}]])},`registerDefaultLayoutLoaders`)();var g=t(async(e,t)=>{if(!(e.layoutAlgorithm in m))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=m[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:a}=e.config,{useGradient:o,gradientStart:s,gradientStop:c}=a,l=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${l}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),o){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,s).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,c).attr(`stop-opacity`,1)}return r.render(e,t,p,{algorithm:n.algorithm})},`render`),_=t((e=``,{fallback:t=`dagre`}={})=>{if(e in m)return e;if(t in m)return n.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`);export{h as n,g as r,_ as t};
//# sourceMappingURL=chunk-336JU56O-RbPZI897-CI9sA3vp.js.map