2026-06-16 05:58:18 +00:00
import { g as He } from "./chunk-FMBD7UC4.XTzslgsO.js" ; import { _ as b , o as Me , l as J , c as g1 , p as Xe , r as Qe , u as re , b as Je , s as Ze , q as $e , a as et , g as tt , t as st , k as it , v as rt , J as at , x as nt , y as se , d as ie , z as ut , A as ot , B as lt , C as ct } from "./mermaid.core.BrszyIat.js" ; import { c as ht } from "./chunk-ND2GUHAM.-fZ8rJcG.js" ; import { g as dt } from "./chunk-55IACEB6.Bl0K_47V.js" ; import { s as pt } from "./chunk-2J33WTMH.ok9i47Q8.js" ; import { c as ft } from "./channel.C-epN8i-.js" ; import "./framework.C2AwuPrQ.js" ; var gt = "flowchart-" , R1 , bt = ( R1 = class { constructor ( ) { this . vertexCounter = 0 , this . config = g1 ( ) , this . diagramId = "" , this . vertices = new Map , this . edges = [ ] , this . classes = new Map , this . subGraphs = [ ] , this . subGraphLookup = new Map , this . tooltips = new Map , this . subCount = 0 , this . firstGraphFlag = ! 0 , this . secCount = - 1 , this . posCrossRef = [ ] , this . funs = [ ] , this . setAccTitle = Je , this . setAccDescription = Ze , this . setDiagramTitle = $e , this . getAccTitle = et , this . getAccDescription = tt , this . getDiagramTitle = st , this . funs . push ( this . setupToolTips . bind ( this ) ) , this . addVertex = this . addVertex . bind ( this ) , this . firstGraph = this . firstGraph . bind ( this ) , this . setDirection = this . setDirection . bind ( this ) , this . addSubGraph = this . addSubGraph . bind ( this ) , this . addLink = this . addLink . bind ( this ) , this . setLink = this . setLink . bind ( this ) , this . updateLink = this . updateLink . bind ( this ) , this . addClass = this . addClass . bind ( this ) , this . setClass = this . setClass . bind ( this ) , this . destructLink = this . destructLink . bind ( this ) , this . setClickEvent = this . setClickEvent . bind ( this ) , this . setTooltip = this . setTooltip . bind ( this ) , this . updateLinkInterpolate = this . updateLinkInterpolate . bind ( this ) , this . setClickFun = this . setClickFun . bind ( this ) , this . bindFunctions = this . bindFunctions . bind ( this ) , this . lex = { firstGraph : this . firstGraph . bind ( this ) } , this . clear ( ) , this . setGen ( "gen-2" ) } sanitizeText ( i ) { return it . sanitizeText ( i , this . config ) } sanitizeNodeLabelType ( i ) { switch ( i ) { case "markdown" : case "string" : case "text" : return i ; default : return "markdown" } } setDiagramId ( i ) { this . diagramId = i } lookUpDomId ( i ) { for ( const a of this . vertices . values ( ) ) if ( a . id === i ) return this . diagramId ? ` ${ this . diagramId } - ${ a . domId } ` : a . domId ; return this . diagramId ? ` ${ this . diagramId } - ${ i } ` : i } addVertex ( i , a , r , n , c , p , l = { } , A ) { if ( ! i || i . trim ( ) . length === 0 ) return ; let u ; if ( A !== void 0 ) { let T ; A . includes ( `
2026-05-11 05:18:54 +00:00
` )?T=A+ `
` :T= ` {
` +A+ `
} ` ,u=rt(T,{schema:at})}const k=this.edges.find(T=>T.id===i);if(k){const T=u;T?.animate!==void 0&&(k.animate=T.animate),T?.animation!==void 0&&(k.animation=T.animation),T?.curve!==void 0&&(k.interpolate=T.curve);return}let F,g=this.vertices.get(i);if(g===void 0&&(a===void 0&&r===void 0&&n!==void 0&&n!==null&&J.warn( ` Style applied to unknown node "${i}" . This may indicate a typo . The node will be created automatically . ` ),g={id:i,labelType:"text",domId:gt+i+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(i,g)),this.vertexCounter++,a!==void 0?(this.config=g1(),F=this.sanitizeText(a.text.trim()),g.labelType=a.type,F.startsWith('"')&&F.endsWith('"')&&(F=F.substring(1,F.length-1)),g.text=F):g.text===void 0&&(g.text=i),r!==void 0&&(g.type=r),n?.forEach(T=>{g.styles.push(T)}),c?.forEach(T=>{g.classes.push(T)}),p!==void 0&&(g.dir=p),g.props===void 0?g.props=l:l!==void 0&&Object.assign(g.props,l),u!==void 0){if(u.shape){if(u.shape!==u.shape.toLowerCase()||u.shape.includes("_"))throw new Error( ` No such shape : $ { u . shape } . Shape names should be lowercase . ` );if(!nt(u.shape))throw new Error( ` No such shape : $ { u . shape } . ` );g.type=u?.shape}u?.label&&(g.text=u?.label,g.labelType=this.sanitizeNodeLabelType(u?.labelType)),u?.icon&&(g.icon=u?.icon,!u.label?.trim()&&g.text===i&&(g.text="")),u?.form&&(g.form=u?.form),u?.pos&&(g.pos=u?.pos),u?.img&&(g.img=u?.img,!u.label?.trim()&&g.text===i&&(g.text="")),u?.constraint&&(g.constraint=u.constraint),u.w&&(g.assetWidth=Number(u.w)),u.h&&(g.assetHeight=Number(u.h))}}addSingleLink(i,a,r,n){const l={start:i,end:a,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};J.info("abc78 Got edge...",l);const A=r.text;if(A!==void 0&&(l.text=this.sanitizeText(A.text.trim()),l.text.startsWith('"')&&l.text.endsWith('"')&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=this.sanitizeNodeLabelType(A.type)),r!==void 0&&(l.type=r.type,l.stroke=r.stroke,l.length=r.length>10?10:r.length),n&&!this.edges.some(u=>u.id===n))l.id=n,l.isUserDefinedId=!0;else{const u=this.edges.filter(k=>k.start===l.start&&k.end===l.end);u.length===0?l.id=se(l.start,l.end,{counter:0,prefix:"L"}):l.id=se(l.start,l.end,{counter:u.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))J.info("Pushing edge..."),this.edges.push(l);else throw new Error( ` Edge limit exceeded . $ { this . edges . length } edges found , but the limit is $ { this . config . maxEdges } .
Initialize mermaid with maxEdges set to a higher number to allow more edges .
You cannot set this config via configuration inside the diagram as it is a secure config .
You have to call mermaid . initialize . ` )}isLinkData(i){return i!==null&&typeof i=="object"&&"id"in i&&typeof i.id=="string"}addLink(i,a,r){const n=this.isLinkData(r)?r.id.replace("@",""):void 0;J.info("addLink",i,a,n);for(const c of i)for(const p of a){const l=c===i[i.length-1],A=p===a[0];l&&A?this.addSingleLink(c,p,r,n):this.addSingleLink(c,p,r,void 0)}}updateLinkInterpolate(i,a){i.forEach(r=>{r==="default"?this.edges.defaultInterpolate=a:this.edges[r].interpolate=a})}updateLink(i,a){i.forEach(r=>{if(typeof r=="number"&&r>=this.edges.length)throw new Error( ` The index $ { r } for linkStyle is out of bounds . Valid indices for linkStyle are between 0 and $ { this . edges . length - 1 } . ( Help : Ensure that the index is within the range of existing edges . ) ` );r==="default"?this.edges.defaultStyle=a:(this.edges[r].style=a,(this.edges[r]?.style?.length??0)>0&&!this.edges[r]?.style?.some(n=>n?.startsWith("fill"))&&this.edges[r]?.style?.push("fill:none"))})}addClass(i,a){const r=a.join().replace(/ \\ ,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");i.split(",").forEach(n=>{let c=this.classes.get(n);c===void 0&&(c={id:n,styles:[],textStyles:[]},this.classes.set(n,c)),r?.forEach(p=>{if(/color/.exec(p)){const l=p.replace("fill","bgFill");c.textStyles.push(l)}c.styles.push(p)})})}setDirection(i){this.direction=i.trim(),/.*</.exec(this.direction)&&(this.direction="RL"),/.* \^ /.exec(this.direction)&&(this.direction="BT"),/.*>/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(i,a){for(const r of i.split(",")){const n=this.vertices.get(r);n&&n.classes.push(a);const c=this.edges.find(l=>l.id===r);c&&c.classes.push(a);const p=this.subGraphLookup.get(r);p&&p.classes.push(a)}}setTooltip(i,a){if(a!==void 0){a=this.sanitizeText(a);for(const r of i.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(r):r,a)}}setClickFun(i,a,r){if(g1().securityLevel!=="loose"||a===void 0)return;let n=[];if(typeof r=="string"){n=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]* $ )/);for(let p=0;p<n.length;p++){let l=n[p].trim();l.startsWith('"')&&l.endsWith('"')&&(l=l.substr(1,l.length-2)),n[p]=l}}n.length===0&&n.push(i);const c=this.vertices.get(i);c&&(c.haveCallback=!0,this.funs.push(()=>{const p=this.lookUpDomId(i),l=document.querySelector( ` [ id = "${p}" ] ` );l!==null&&l.addEventListener("click",()=>{re.runFunc(a,...n)},!1)}))}setLink(i,a,r){i.split(",").forEach(n=>{const c=this.vertices.get(n);c!==void 0&&(c.link=re.formatUrl(a,this.config),c.linkTarget=r)}),this.setClass(i,"clickable")}getTooltip(i){return this.tooltips.get(i)}setClickEvent(i,a,r){i.split(",").forEach(n=>{this.setClickFun(n,a,r)}),this.setClass(i,"clickable")}bindFunctions(i){this.funs.forEach(a=>{a(i)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(i){const a=ht();ie(i).select("svg").selectAll("g.node").on("mouseover",c=>{const p=ie(c.currentTarget),l=p.attr("title");if(l===null)return;const A=c.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(p.attr("title")).style("left",window.scrollX+A.left+(A.right-A.left)/2+"px").style("top",window.scrollY+A.bottom+"px"),a.html(ut.sanitize(l)),p.classed("hover",!0)}).on("mouseout",c=>{a.transition().duration(500).style("opacity",0),ie(c.currentTarget).classed("hover",!1)})}clear(i="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=i,this.config=g1(),ot()}setGen(i){this.version=i||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(i,a,r){let n=i.text.trim(),c=r.text;i===r&&/ \s /.exec(r.text)&&(n=void 0);const l=b(g=>{const T={boolean:{},number:{},string:{}},_=[];let v;return{nodeList:g.filter(function(j){const h1=typeof j;return j
` +U.showPosition()+ `
Expecting ` +X1.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":te="Parse error on line "+(L+1)+": Unexpected "+(Y==Ge?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(te,{text:U.match,token:this.terminals_[Y]||Y,line:U.yylineno,loc: $ 1,expected:X1})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k1+", token: "+Y);switch(Q[0]){case 1:f.push(Y),x.push(U.yytext),e.push(U.yylloc),f.push(Q[1]),Y=null,Ne=U.yyleng,t=U.yytext,L=U.yylineno, $ 1=U.yylloc;break;case 2:if(c1=this.productions_[Q[1]][1],w1. $ =x[x.length-c1],w1._ $ ={first_line:e[e.length-(c1||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(c1||1)].first_column,last_column:e[e.length-1].last_column},Ye&&(w1._ $ .range=[e[e.length-(c1||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(w1,[t,Ne,L,A1.yy,Q[1],x,e].concat(je)),typeof ee<"u")return ee;c1&&(f=f.slice(0,-1*c1*2),x=x.slice(0,-1*c1),e=e.slice(0,-1*c1)),f.push(this.productions_[Q[1]][0]),x.push(w1. $ ),e.push(w1._ $ ),Oe=G1[f[f.length-2]][f[f.length-1]],f.push(Oe);break;case 3:return!0}}return!0},"parse")},We=(function(){var f1={EOF:1,parseError:b(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:b(function(h,d){return this.yy=d||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:b(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var d=h.match(/(?: \r \n ?| \n ).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:b(function(h){var d=h.length,f=h.split(/(?: \r \n ?| \n )/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var o=this.match.split(/(?: \r \n ?| \n )/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===o.length?this.yylloc.first_column:0)+o[o.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:b(function(){return this._more=!0,this},"more"),reject:b(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+ ` . You can only invoke reject ( ) in the lexer when the lexer is of the backtracking persuasion ( options . backtrack _lexer = true ) .
` +this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:b(function(h){this.unput(this.match.slice(h))},"less"),pastInput:b(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/ \n /g,"")},"pastInput"),upcomingInput:b(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/ \n /g,"")},"upcomingInput"),showPosition:b(function(){var h=this.pastInput(),d=new Array(h.length+1).join("-");return h+this.upcomingInput()+ `
` +d+"^"},"showPosition"),test_match:b(function(h,d){var f,o,x;if(this.options.backtrack_lexer&&(x={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(x.yylloc.range=this.yylloc.range.slice(0))),o=h[0].match(/(?: \r \n ?| \n ).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/ \r ? \n ?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(h[0].length),this.matched+=h[0],f=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var e in x)this[e]=x[e];return!1}return!1},"test_match"),next:b(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var h,d,f,o;this._more||(this.yytext="",this.match="");for(var x=this._currentRules(),e=0;e<x.length;e++)if(f=this._input.match(this.rules[x[e]]),f&&(!d||f[0].length>d[0].length)){if(d=f,o=e,this.options.backtrack_lexer){if(h=this.test_match(f,x[e]),h!==!1)return h;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(h=this.test_match(d,x[o]),h!==!1?h:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+ ` . Unrecognized text .
` +this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:b(function(){var d=this.next();return d||this.lex()},"lex"),begin:b(function(d){this.conditionStack.push(d)},"begin"),popState:b(function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:b(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:b(function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},"topState"),pushState:b(function(d){this.begin(d)},"pushState"),stateStackSize:b(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:b(function(d,f,o,x){switch(o){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),f.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:const e=/ \n \s */g;return f.yytext=f.yytext.replace(e,"<br/>"),40;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:return d.lex.firstGraph()&&this.begin("dir"),12;case 36:return d.lex.firstGraph()&&this.begin("dir"),12;case 37:return d.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:return 98;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return this.popState(),13;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return 121;case 56:return 122;case 57:return 123;case 58:return 124;case 59:return 125;case 60:return 78;case 61:return 105;case 62:return 111;case 63:return 46;case 64:return 60;case 65:return 44;case 66:return 8;case 67:return 106;case 68:return 115;case 69:return this.popState(),77;case 70:return this.pushState("edgeText"),75;case 71:return 119;case 72:return this.popState(),77;case 73:return this.pushState("thickEdgeText"),75;case 74:return 119;case 75:return this.popState(),77;case 76:return this.pushState("dottedEdgeText"),75;case 77:return 119;case 78:return 77;case 79:return this.popState(),53;case 80:return"TEXT";case 81:return this.pushState("ellipseText"),52;case 82:return this.popState(),55;case 83:return this.pushState("text"),54;case 84:return this.popState(),57;case 85:return this.pushState("text"),56;case 86:return 58;case 87:return this.pushState("text"),67;case 88:return this.popState(),64;case 89:return this.pushState("text"),63;case 90:return this.popState(),49;case 91:return this.pushState("text"),48;case 92:return this.popState(),69;case 93:return this.popState(),71;case 94:return 117;case 95:return this.pushState("trapText"),68;case 96:return this.pushState("trapText"),70;case 97:return 118;case 98:return 67;case 99:return 90;case 100:return"SEP";case 101:return 89;case 102:return 115;case 103:return 111;case 104:return 44;case 105:return 109;case 106:return 114;case 107:return 116;
` );return Ue.parse(i)};var Ct=ze,Dt=b((s,i)=>{const a=ft,r=a(s,"r"),n=a(s,"g"),c=a(s,"b");return ct(r,n,c,i)},"fade"),Et=b(s=> ` . label {
font - family : $ { s . fontFamily } ;
color : $ { s . nodeTextColor || s . textColor } ;
}
. cluster - label text {
fill : $ { s . titleColor } ;
}
. cluster - label span {
color : $ { s . titleColor } ;
}
. cluster - label span p {
background - color : transparent ;
}
. label text , span {
fill : $ { s . nodeTextColor || s . textColor } ;
color : $ { s . nodeTextColor || s . textColor } ;
}
. node rect ,
. node circle ,
. node ellipse ,
. node polygon ,
. node path {
fill : $ { s . mainBkg } ;
stroke : $ { s . nodeBorder } ;
stroke - width : $ { s . strokeWidth ? ? 1 } px ;
}
. rough - node . label text , . node . label text , . image - shape . label , . icon - shape . label {
text - anchor : middle ;
}
// .flowchart-label .text-outer-tspan {
// text-anchor: middle;
// }
// .flowchart-label .text-inner-tspan {
// text-anchor: start;
// }
. node . katex path {
fill : # 000 ;
stroke : # 000 ;
stroke - width : 1 px ;
}
. rough - node . label , . node . label , . image - shape . label , . icon - shape . label {
text - align : center ;
}
. node . clickable {
cursor : pointer ;
}
. root . anchor path {
fill : $ { s . lineColor } ! important ;
stroke - width : 0 ;
stroke : $ { s . lineColor } ;
}
. arrowheadPath {
fill : $ { s . arrowheadColor } ;
}
. edgePath . path {
stroke : $ { s . lineColor } ;
stroke - width : $ { s . strokeWidth ? ? 2 } px ;
}
. flowchart - link {
stroke : $ { s . lineColor } ;
fill : none ;
}
. edgeLabel {
background - color : $ { s . edgeLabelBackground } ;
p {
background - color : $ { s . edgeLabelBackground } ;
}
rect {
opacity : 0.5 ;
background - color : $ { s . edgeLabelBackground } ;
fill : $ { s . edgeLabelBackground } ;
}
text - align : center ;
}
/* For html labels only */
. labelBkg {
background - color : $ { Dt ( s . edgeLabelBackground , . 5 ) } ;
// background-color:
}
. cluster rect {
fill : $ { s . clusterBkg } ;
stroke : $ { s . clusterBorder } ;
stroke - width : 1 px ;
}
. cluster text {
fill : $ { s . titleColor } ;
}
. cluster span {
color : $ { s . titleColor } ;
}
/ * . c l u s t e r d i v {
color : $ { s . titleColor } ;
} * /
div . mermaidTooltip {
position : absolute ;
text - align : center ;
max - width : 200 px ;
padding : 2 px ;
font - family : $ { s . fontFamily } ;
font - size : 12 px ;
background : $ { s . tertiaryColor } ;
border : 1 px solid $ { s . border2 } ;
border - radius : 2 px ;
pointer - events : none ;
z - index : 100 ;
}
. flowchartTitleText {
text - anchor : middle ;
font - size : 18 px ;
fill : $ { s . textColor } ;
}
rect . text {
fill : none ;
stroke - width : 0 ;
}
. icon - shape , . image - shape {
background - color : $ { s . edgeLabelBackground } ;
p {
background - color : $ { s . edgeLabelBackground } ;
padding : 2 px ;
}
. label rect {
opacity : 0.5 ;
background - color : $ { s . edgeLabelBackground } ;
fill : $ { s . edgeLabelBackground } ;
}
text - align : center ;
}
$ { He ( ) }
` ,"getStyles"),Tt=Et,Lt={parser:Ct,get db(){return new bt},renderer:mt,styles:Tt,init:b(s=>{s.flowchart||(s.flowchart={}),s.layout&&Me({layout:s.layout}),s.flowchart.arrowMarkerAbsolute=s.arrowMarkerAbsolute,Me({flowchart:{arrowMarkerAbsolute:s.arrowMarkerAbsolute}})},"init")};export{Lt as diagram};