You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added 15 offline data-chart templates to Diagram Builder: bar, line, stacked bar, area, scatter, diverging comparison, bar-and-line combo, funnel, heatmap, box plot, bubble, gauge, doughnut, waterfall, and word cloud. Their editable echarts JSON fences render as SVG in live preview, convert to clear embedded images for Word/HTML exports, and retain preview styling when printed to PDF.
Diagram Builder now contains 37 templates in total (22 Mermaid + 15 ECharts). A real-browser audit verifies both localized variants of every template—74 SVG renders and 74 PNG exports—and separately checks that every newly added chart has a valid canvas, visible labels, and real drawing elements.
Added a unified Diagram Builder to the editor. Its formula-builder-style dialog organizes 22 common Mermaid templates into Process & Projects, Software & Systems, Data Analysis, and Knowledge & Planning; each template includes a use-case description, fully editable source, live preview, and one-click Markdown insertion. The three separate flowchart, sequence, and Gantt entries are now consolidated into one command.
Enlarged and reorganized the Diagram Builder. On wide displays the editable source and live diagram sit side by side with independent scrolling so both remain visible; narrower windows automatically return to a stacked layout without clipping controls.
Added a real-render audit covering the Chinese and English variants of all 22 Mermaid templates. Fixed the XY-chart Y-axis title overlapping tick labels and now expands overly tight SVG canvases so edge labels in sequence, XY, and radar diagrams are not clipped.
Fixed overlapping C4 stereotype letters caused by Mermaid compressing <<person>> and <<system>>; stereotypes now use the correctly measured guillemet form and remain centred in their nodes.
Fixed Mermaid Requirement Diagram relationship captions appearing as solid black bars. Labels such as satisfies now use readable neutral text and backgrounds consistently in preview and Word/HTML exports.
Added Typora-style Mermaid diagrams. Fenced ```mermaid blocks now render flowcharts, sequence diagrams, Gantt charts, and other Mermaid syntax in live preview, with ready-to-insert templates under More Formats. Diagrams follow the current color mode and accent, show an inline non-blocking syntax error when invalid, export as embedded high-resolution images to Word/HTML, and retain preview styling in PDF printing.
Fixed every Mermaid diagram being reported as invalid when the active theme used CSS color-mix(). All theme colors are now resolved by the browser to Mermaid-compatible sRGB hex values before rendering, covering both color modes and all eight accent palettes.
Fixed missing node labels in flowcharts, class, state, ER, and mind-map diagrams. Mermaid now emits safe pure-SVG text instead of HTML labels removed by sanitization. Wide diagrams such as Gantt retain a readable canvas with horizontal scrolling, while lazy engine loading, cached theme setup, and stale-render cancellation reduce startup and continuous-editing lag.
Fixed the live preview jumping to an earlier chart while editing long Mermaid documents. Preview refreshes now reuse safe, unchanged SVGs for the active theme in document order and redraw only the diagram being changed, preserving the current section and avoiding redundant multi-diagram rendering.
Normalized Mermaid labels to the application UI font at regular weight, removed the global SVG icon stroke that accidentally outlined and emboldened diagram text, and constrained extreme label sizes to a readable range. C4 context diagrams retain a sufficiently wide canvas and scroll horizontally in narrow panes instead of becoming illegibly small.
Fixed inaccurate live-preview positioning in documents with many Mermaid diagrams by correcting the scroll position after the latest asynchronous chart layout reaches its final height, while ignoring stale render tasks.
Mermaid pie charts now use a high-contrast categorical palette independent of the application accent, keeping slices, labels, and legends distinct in both light and dark modes.
ER relationship labels now use an accent-independent neutral palette. This fixes captions such as creates and contains becoming invisible when their text and background inherited the same theme colour. Final caption, background, and connector colours are written into the SVG so the app preview and Word/HTML exports remain consistent.
Fixed C4 context stereotype, system-type, and relationship labels being resized after layout, which caused text to cross node boundaries, collide with connectors, or overlap. C4 diagrams now preserve the exact font sizes used by Mermaid's layout while retaining the normalized font family, regular weight, and clear rendering.
Fixed long Chinese C4 relationship captions still extending into neighbouring nodes. The dedicated C4 layout now reserves a 240px lane for relation and technology labels, limits each row to three nodes, and uses a horizontally scrollable wide canvas so captions such as “Open, read and edit” or “Check for updates [HTTPS]” cannot cover system descriptions.
Fixed progressively shifted right-click source positioning in tutorials that wrap a triple-backtick Mermaid example inside a four-backtick code fence. Source block scanning now follows CommonMark fence-length rules, so a shorter inner fence cannot close the outer block and Sankey or later sections locate their actual source lines.
macOS now persists native security-scoped bookmarks for documents and folders authorized through system panels, Finder, or file associations. Recent and Explorer restore access silently after relaunch and refresh stale bookmarks automatically; the preselected system authorization panel is retained only for legacy records or bookmarks invalidated by an unsigned app update.
Fixed Mermaid User Journey section headings inheriting the same fill as their section backgrounds, which hid labels such as “Open document” and “Edit document.” Section headings now use an explicit readable foreground and are covered by the full real-render and export audit.
Unified Mermaid connector annotations across class, state, ER, and requirement diagrams. Relationship captions no longer show a framed rectangle that resembles a node; they retain only a borderless background mask and normal text, consistently in preview and Word/HTML/image exports.