Skip to content

Commit dc43056

Browse files
docs(plugins): unlock undo-redo and copy-paste, reorder list (#17)
1 parent e766409 commit dc43056

7 files changed

Lines changed: 6 additions & 24 deletions

File tree

apps/docs/src/content/docs/plugins/avoid-nodes-edges.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Avoid Nodes & Edges
33
description: Orthogonal edge routing that automatically routes edges around nodes using Web Workers and WASM.
44
sidebar:
55
badge: Enterprise
6-
order: 2
6+
order: 3
77
---
88

99
import EnterpriseNote from '@/components/enterprise-note.astro';

apps/docs/src/content/docs/plugins/copy-paste.mdx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@
22
title: Copy & Paste
33
description: Cut, copy, and paste nodes and edges on the canvas.
44
sidebar:
5-
badge: Enterprise
6-
order: 4
5+
order: 2
76
---
87

9-
import EnterpriseNote from '@/components/enterprise-note.astro';
10-
11-
<EnterpriseNote />
12-
13-
import OverflowCard from '@/components/overflow-card.astro';
14-
158
Full support for node and edge cut, copy, and paste operations using standard keyboard shortcuts (`Ctrl+C`, `Ctrl+V`, `Ctrl+X`).
169

1710
When you copy a group of nodes, connected edges between them are included automatically. Pasted nodes receive new unique IDs and are placed at the current mouse position, keeping the relative layout intact.
@@ -36,8 +29,6 @@ import copyPasteWebm from '@/assets/copy-paste.webm';
3629
- Move a section of a workflow to a different area of the canvas via cut + paste.
3730
- Copy nodes across browser tabs (clipboard is system-level).
3831

39-
<OverflowCard docsUrl="https://www.overflow.dev/premium?path=/docs/interaction-copy-paste-documentation--docs" />
40-
4132
## See also
4233

4334
- [Diagram state management](/overview/features/diagram-state-management/) - canvas state, undo/redo, and auto-save

apps/docs/src/content/docs/plugins/download-pdf.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Download PDF
33
description: Export the current diagram as a PDF file.
44
sidebar:
55
badge: Enterprise
6-
order: 8
6+
order: 9
77
---
88

99
import EnterpriseNote from '@/components/enterprise-note.astro';

apps/docs/src/content/docs/plugins/elk-layout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Auto Layout
33
description: Automatic node and edge arrangement powered by the ELK layout engine.
44
sidebar:
55
badge: Enterprise
6-
order: 3
6+
order: 4
77
---
88

99
import EnterpriseNote from '@/components/enterprise-note.astro';

apps/docs/src/content/docs/plugins/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Workflow Builder uses a plugin system to keep the core lightweight while offerin
1010
| Plugin | What it does |
1111
| ------------------------------------------- | -------------------------------------------------------------- |
1212
| [Undo / Redo](./undo-redo/) | Session history. Step backwards and forwards through edits |
13+
| [Copy & Paste](./copy-paste/) | Cut, copy, and paste nodes and edges with keyboard shortcuts |
1314
| [Avoid Nodes & Edges](./avoid-nodes-edges/) | Automatic orthogonal edge routing around nodes (WASM + Worker) |
1415
| [Auto Layout](./elk-layout/) | One-click node arrangement powered by the ELK layout engine |
15-
| [Copy & Paste](./copy-paste/) | Cut, copy, and paste nodes and edges with keyboard shortcuts |
1616
| [Reshapable Edges](./reshapable-edges/) | Drag handles on edges to manually adjust connection paths |
1717
| [Widgets](./widgets/) | Attach rich content blocks directly on node cards |
1818
| [Flow Runner](./flow-runner/) | Reference implementation: parse and execute a workflow diagram |

apps/docs/src/content/docs/plugins/undo-redo.mdx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,11 @@
22
title: Undo / Redo
33
description: Local session history for the diagram. Undo and redo node-related actions using keyboard shortcuts or toolbar buttons.
44
sidebar:
5-
badge: Enterprise
65
order: 1
76
---
87

9-
import EnterpriseNote from '@/components/enterprise-note.astro';
10-
11-
<EnterpriseNote />
12-
138
import undoRedoWebm from '@/assets/undo-redo.webm';
149

15-
import OverflowCard from '@/components/overflow-card.astro';
16-
1710
Users can step backwards and forwards through their editing actions without losing work.
1811

1912
<video autoplay loop muted playsinline>
@@ -40,8 +33,6 @@ Edge-only changes (moving edge labels) may not be included in the history depend
4033

4134
Toolbar buttons for undo and redo are also available in the app bar.
4235

43-
<OverflowCard docsUrl="https://www.overflow.dev/premium?path=/docs/interaction-undo-redo-documentation--docs" />
44-
4536
## See also
4637

4738
- [Diagram state management](/overview/features/diagram-state-management/) - canvas state, undo/redo, and auto-save

apps/docs/src/content/docs/plugins/validation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Validation
33
description: Additional logic for working with JSON forms, adding diagram-based validation for detecting broken references and missing edges.
44
sidebar:
55
badge: Enterprise
6-
order: 6
6+
order: 8
77
---
88

99
import EnterpriseNote from '@/components/enterprise-note.astro';

0 commit comments

Comments
 (0)