md/assets/infoDiagram-7APDZ6AT-LPVgaS7X.js
2024-11-22 07:41:57 +00:00

3 lines
610 B
JavaScript

import{_ as e,l as s,E as n,k as i,F as p}from"./index-CQym0Fh-.js";import{p as g}from"./gitGraph-YCYPL57B-H7xBIAVw.js";import"./min-BWVHsSEv.js";import"./_baseUniq-Dt3Sdbk-.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},y={parser:v,db:c,renderer:f};export{y as diagram};