md/static/js/md-infoDiagram-A4XQUW5V-CKpAlK_M.js
2024-12-22 13:25:39 +00:00

3 lines
661 B
JavaScript

import{_ as e,l as s,G as n,k as i,H as p}from"./md-index-D1UV8E72.js";import{p as g}from"./md-gitGraph-YCYPL57B-C9yjhVG-.js";import"./md-_baseUniq-3pezCIhY.js";import"./md-_basePickBy-VHpcgD5K.js";import"./md-clone-BV9KASjV.js";var v={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},d={version:p},m=e(()=>d.version,"getVersion"),c={getVersion:m},l=e((r,a,o)=>{s.debug(`rendering info diagram
`+r);const t=n(a);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),f={draw:l},S={parser:v,db:c,renderer:f};export{S as diagram};