Files
anthropic-client/docs/public/chunk-TOQ6ACLX.min.js
T

3 lines
1.1 KiB
JavaScript
Executable File

import{b as u,c as y,d as f,e as h}from"./chunk-7JZIB2XU.min.js";import{b as g,e as m,h as d}from"./chunk-LDPOAEOH.min.js";import{c as l}from"./chunk-KF4CENUX.min.js";import{D as n,N as s,h as o,j as a}from"./chunk-UOD6J27N.min.js";var p={common:s,getConfig:n,insertCluster:m,insertEdge:f,insertEdgeLabel:u,insertMarkers:h,insertNode:d,interpolateToCurve:l,labelHelper:g,log:a,positionEdgeLabel:y},t={},L=o(r=>{for(let e of r)t[e.name]=e},"registerLayoutLoaders"),w=o(()=>{L([{name:"dagre",loader:o(async()=>await import("./dagre-SWNTG5WE-7BA3SWK2.min.js"),"loader")}])},"registerDefaultLayoutLoaders");w();var R=o(async(r,e)=>{if(!(r.layoutAlgorithm in t))throw new Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);let i=t[r.layoutAlgorithm];return(await i.loader()).render(r,e,p,{algorithm:i.algorithm})},"render"),_=o((r="",{fallback:e="dagre"}={})=>{if(r in t)return r;if(e in t)return a.warn(`Layout algorithm ${r} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${r} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm");export{L as a,R as b,_ as c};
//# sourceMappingURL=chunk-TOQ6ACLX.min.js.map