|
| 1 | +--- |
| 2 | +title: "Node tags" |
| 3 | +date: "2025-10-15" |
| 4 | +author: "" |
| 5 | +published: true |
| 6 | +--- |
| 7 | + |
| 8 | +## Overview |
| 9 | + |
| 10 | +Node tags allow you to quickly create discourse nodes from tagged lines in your notes. When you assign a tag to a node type, any line containing that tag becomes a clickable element that can be converted into a discourse node. |
| 11 | + |
| 12 | +This feature streamlines your workflow by letting you mark potential discourse nodes with tags as you write, then easily convert them to full discourse nodes later. |
| 13 | + |
| 14 | +## Setting up node tags |
| 15 | + |
| 16 | +### Configuring tags in settings |
| 17 | + |
| 18 | +1. Open the Discourse Graph settings |
| 19 | +2. Navigate to the **Node Types** section |
| 20 | +3. Select an existing node type or create a new one |
| 21 | +4. In the **Node tag** field, enter a tag identifier |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | +### Tag naming rules |
| 26 | + |
| 27 | +Tags must follow these rules: |
| 28 | +- **No spaces**: Tags cannot contain whitespace |
| 29 | +- **Allowed characters**: Only letters (a-z, A-Z), numbers (0-9), and dashes (-) |
| 30 | +- **No special characters**: Characters like #, @, /, \, etc. are not allowed |
| 31 | +- **Case-sensitive**: Tags are case-sensitive in the editor |
| 32 | + |
| 33 | +#### Tag examples |
| 34 | + |
| 35 | +**Valid tags:** |
| 36 | +- `clm-candidate` |
| 37 | +- `question-idea` |
| 38 | +- `evidence2024` |
| 39 | +- `my-argument` |
| 40 | + |
| 41 | +**Invalid tags:** |
| 42 | +- `clm candidate` (contains space) |
| 43 | +- `#clm-candidate` (contains #) |
| 44 | +- `clm/candidate` (contains /) |
| 45 | + |
| 46 | +## Using node tags in your notes |
| 47 | + |
| 48 | +### Adding tags to your notes |
| 49 | + |
| 50 | +Once you've configured a node tag for a node type, simply add the tag (prefixed with `#`) to any line in your notes: |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | +### Creating discourse nodes from tags |
| 55 | + |
| 56 | +When you hover over a tagged line, a button appears above the tag: |
| 57 | + |
| 58 | +1. **Hover** over the tag you want to convert |
| 59 | +2. Wait for the **"Create [Node Type]"** button to appear |
| 60 | + |
| 61 | +3. **Click** the button to open the node creation dialog |
| 62 | + |
| 63 | +4. Click "Confirm" to create node |
| 64 | + |
| 65 | +You'll see that the candidate node is now replaced with a formalized node |
| 66 | + |
0 commit comments