mirror of
https://github.com/hansjone/mind-map.git
synced 2026-10-08 23:33:24 +08:00
feat: add PNG/SVG export and expandable card property tips
Toolbar exports PNG (fit+raster) and SVG; card click expands full fields, hover shows property tooltips, double-click opens the editor. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
23ff27122f
commit
4c9bd5b86f
22 changed files with 978 additions and 315 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
51
packages/dsh-plugin/bundle/web/assets/index-B_0PHR0v.js
Normal file
51
packages/dsh-plugin/bundle/web/assets/index-B_0PHR0v.js
Normal file
File diff suppressed because one or more lines are too long
1
packages/dsh-plugin/bundle/web/assets/index-CACgBf2I.css
Normal file
1
packages/dsh-plugin/bundle/web/assets/index-CACgBf2I.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,8 +4,8 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Mind Map</title>
|
||||
<script type="module" crossorigin src="/assets/index-iTIYRavW.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BK6FV7kG.css">
|
||||
<script type="module" crossorigin src="/assets/index-B_0PHR0v.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CACgBf2I.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
|
|||
BIN
packages/dsh-plugin/bundle/web/topo/ne-router.png
Normal file
BIN
packages/dsh-plugin/bundle/web/topo/ne-router.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
|
|
@ -265,7 +265,7 @@ export function mindmapToolDefinitions(getBase, getCanvasIdForSession, setActive
|
|||
{
|
||||
name: 'mindmap_export',
|
||||
description:
|
||||
'Export canvas as json | md | svg. format=png also returns SVG (vector) for agents; use web UI for raster PNG.',
|
||||
'Export canvas as json | md | svg | png. format=png returns SVG for agents (no server fonts); use the canvas toolbar PNG button for raster PNG.',
|
||||
parameters: {
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
|
|
@ -674,7 +674,7 @@ Other tools:
|
|||
- mindmap_query — graph Q&A: neighbors|path|stats|orphans|missing_meta (deterministic; cite returned nodes)
|
||||
- mindmap_get_node / mindmap_get_edge — details for follow-up
|
||||
- mindmap_highlight — flash path (nodeIds + edgeIds + optional ttlMs/style)
|
||||
- mindmap_export — format json|md|svg (png→svg for agents; UI has raster PNG)
|
||||
- mindmap_export — format json|md|svg|png (png→svg for agents; toolbar PNG is raster)
|
||||
- mindmap_focus, mindmap_undo, mindmap_redo, mindmap_history
|
||||
- mindmap_snapshot / mindmap_restore_snapshot — named checkpoints
|
||||
- mindmap_apply_direct({ preview:true }) — dry-run layout + overlaps, no persist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue