mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
Add org chart image export support
This commit is contained in:
parent
53249c00cf
commit
b20675b7b5
6 changed files with 469 additions and 17 deletions
|
|
@ -87,10 +87,9 @@ export function generateReadme(
|
|||
lines.push("");
|
||||
}
|
||||
|
||||
// Org chart as Mermaid diagram
|
||||
const mermaid = generateOrgChartMermaid(manifest.agents);
|
||||
if (mermaid) {
|
||||
lines.push(mermaid);
|
||||
// Org chart image (generated during export as images/org-chart.png)
|
||||
if (manifest.agents.length > 0) {
|
||||
lines.push("");
|
||||
lines.push("");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue