Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): tweak note map documentation

Elian Doran0db08a135065
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html
index 520a405c6f..69d9af588e 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html
@@ -1,23 +1,56 @@
-<p>Note map is a visualization of connections between notes.</p>
-<p>This provides an insight into a structure ("web") of notes.</p>
+<p>Note map is a visualization of connections between notes. This provides
+ an insight into a structure ("web") of notes.</p>
<p>There are two types of note map:</p>
<ul>
<li>Link Map, which shows relations between notes.</li>
<li>Note Map, which shows the hierarchical tree structure.</li>
</ul>
<h2>Accessing the note map</h2>
+<p>The note map comes into multiple flavors:</p>
<ul>
- <li>On the&nbsp;<a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>,
- the note map is available in the&nbsp;<a class="reference-link" href="#root/_help_KRlZFoIH0j6p">Connections tab</a>&nbsp;in
- the&nbsp;<a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a>.</li>
- <li>On the old layout, the note map is a tab in the&nbsp;<a class="reference-link"
- href="#root/_help_BlN9DFI679QC">Ribbon</a>.</li>
+ <li>To access the note map for the current note:
+ <ul>
+ <li>On the&nbsp;<a class="reference-link" href="#root/_help_IjZS7iK5EXtb">New Layout</a>,
+ the note map is available in the&nbsp;<a class="reference-link" href="#root/_help_KRlZFoIH0j6p">Connections tab</a>&nbsp;in
+ the&nbsp;<a class="reference-link" href="#root/_help_RnaPdbciOfeq">Right Sidebar</a>.</li>
+ <li>On the old layout, the note map is a tab in the&nbsp;<a class="reference-link"
+ href="#root/_help_BlN9DFI679QC">Ribbon</a>.</li>
+ </ul>
+ </li>
+ <li>To display a full-screen note map, there is a <a href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_bdUJEHsAPYQR">dedicated note type</a> with
+ the same name.</li>
+ <li>To view the global note map (of all the notes in the knowledge base),
+ there is a dedicated <em>Note map</em> button in the&nbsp;<a class="reference-link"
+ href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_xYmIYSP6wE3F">Launch Bar</a>.</li>
+</ul>
+<h2>Terminology and structure</h2>
+<ul>
+ <li>Each note is represented as a <em>node</em> in the graph, with the title
+ displayed underneath.
+ <ul>
+ <li>When the map is zoomed out, the title can still be viewed by hovering
+ over the node.</li>
+ <li>The <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_p9kXRFAkwN4o">icon and color</a> of
+ the note are respected.</li>
+ </ul>
+ </li>
+ <li>The root node is the reference point for which the relations and hierarchical
+ structure are displayed.
+ <ul>
+ <li>When accessing the note map through the&nbsp;<a class="reference-link"
+ href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_BlN9DFI679QC">Ribbon</a>&nbsp;or
+ the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_RnaPdbciOfeq">Right Sidebar</a>&nbsp;(new
+ layout), the root node is the current note.</li>
+ <li>When using a dedicated&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_bdUJEHsAPYQR">Note Map</a>&nbsp;note,
+ the root note can be either the parent note, the currently <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/wArbEsdSae6g/_help_OR8WJ7Iz9K4U">hoisted</a> note
+ or a specific note. See the note type documentation for more information.</li>
+ </ul>
+ </li>
</ul>
<h2>Interaction</h2>
<ul>
- <li>
- <p>Nodes can be dragged around, but they will return to their original position
- once released.</p>
+ <li>Nodes can be dragged around, but they will return to their original position
+ once released.
<ul>
<li>To have the notes remain in the same position as they were dragged, press
the <em>Fix nodes</em> button. The position of the notes is not saved, so
@@ -25,14 +58,19 @@
application.</li>
</ul>
</li>
- <li>
- <p>The distance between nodes can be adjusted via the slider in the bottom-left.
- Similarly, this value is not saved.</p>
- </li>
+ <li>When hovering over a node, the adjacent relations and nodes are highlighted.</li>
+ <li>The distance between nodes can be adjusted via the slider in the bottom-left.
+ Similarly, this value is not saved.</li>
+ <li><a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/BFs8mudNFgCS/_help_MKmLg5x6xkor">Archived Notes</a>&nbsp;are
+ generally ignored by the note map in order to reduce clutter. There is
+ one exception: if the root note is also archived, then all archived notes
+ are displayed too.</li>
</ul>
<h2>Link Map</h2>
-<img src="Note Map (Link map, Tree map)_image.png"
-width="1425" height="1093">
+<p>
+ <img src="Note Map (Link map, Tree map)_image.png"
+ width="1425" height="1093">
+</p>
<p>The link map is a visualization of links and&nbsp;<a class="reference-link"
href="#root/_help_Cq5X6iKQop6R">Relations</a>&nbsp;incoming to and outgoing from
a particular note.</p>
@@ -53,16 +91,18 @@ width="1425" height="1093">
<img style="aspect-ratio:1420/1490;" src="1_Note Map (Link map, Tree map)_image.png"
width="1420" height="1490">
</figure>
-<h2>Dedicated note type</h2>
-<p>Apart from the note map feature which can be accessed from any note, it
- is also possible to create a dedicated note which will display the relations
- in full screen. See&nbsp;<a href="#root/_help_bdUJEHsAPYQR">Note Map</a>&nbsp;for
- more information.</p>
<h2>See also</h2>
-<p><a class="reference-link" href="#root/_help_iRwzGnHPzonm">Relation Map</a>&nbsp;is
- a similar concept, with some differences:</p>
<ul>
- <li>note map is automatically generated while relation map must be created
- manually</li>
- <li>relation map is a type of note while a link map is just virtual visualization</li>
+ <li>Apart from the note map feature which can be accessed from any note, it
+ is also possible to create a dedicated note which will display the relations
+ in full screen. See&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_bdUJEHsAPYQR">Note Map</a>&nbsp;for
+ more information.</li>
+ <li><a class="reference-link" href="#root/_help_iRwzGnHPzonm">Relation Map</a>&nbsp;is
+ a similar concept, with some differences:
+ <ul>
+ <li>note map is automatically generated while relation map must be created
+ manually</li>
+ <li>relation map is a type of note while a link map is just virtual visualization</li>
+ </ul>
+ </li>
</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
index 812873dd21..e91fcebfc2 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
@@ -1,12 +1,33 @@
-<figure class="image image-style-align-center image_resized" style="width:50%;">
- <img style="aspect-ratio:856/763;" src="Note Map_image.png"
- width="856" height="763">
+<figure class="image image_resized" style="width:72.68%;">
+ <img style="aspect-ratio:1311/1271;" src="Note Map_image.png"
+ width="1311" height="1271">
</figure>
<p>A Note map is a note type which displays a standalone version of the feature
- of the same name:&nbsp;<a href="#root/_help_BCkXAVs63Ttv">Note Map (Link map, Tree map)</a>.</p>
+ of the same name:&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/tC7s2alapj8V/_help_BCkXAVs63Ttv">Note Map (Link map, Tree map)</a>.
+ Consult that page for more information on how the note map works and what
+ it displays.</p>
<p>Once created, the note map will display the relations between notes. Only
the notes that are part of the parent of the note map will be displayed
(including their children).</p>
+<h2>Root note</h2>
+<p>The root note defines the starting point of the graph, from which the
+ relations and the hierarchy are derived from.</p>
+<p>There are three possible root notes:</p>
+<ul>
+ <li>
+ <p>The default root note is the parent note of the note map.</p>
+ </li>
+ <li>
+ <p>To use the currently <a href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/wArbEsdSae6g/_help_OR8WJ7Iz9K4U">hoisted note</a> instead,
+ set the <code spellcheck="false">mapRootNoteId</code> label to <code spellcheck="false">hoisted</code>.</p>
+ </li>
+ <li>
+ <p>To use a specific note instead, set <code spellcheck="false">mapRootNoteId</code> to
+ the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/tC7s2alapj8V/_help_m1lbrzyKDaRB">Note ID</a>&nbsp;of
+ the desired note.</p>
+ </li>
+</ul>
+<h2>Customization</h2>
<p>The note map can be customized using the following&nbsp;<a class="reference-link"
href="#root/_help_HI6GBBIduIgv">Labels</a>:</p>
<figure class="table">
@@ -31,8 +52,8 @@
<tr>
<td><code spellcheck="false">#mapRootNoteId</code>
</td>
- <td>The ID of the note the map roots from, with a special value <code spellcheck="false">hoisted</code> (default
- behavior).</td>
+ <td>The ID of the note the map roots from, or <code spellcheck="false">hoisted</code>.
+ See the root note section above for more information.</td>
</tr>
</tbody>
</table>
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png
index 2ba7707df7..43fdd0749c 100644
Binary files a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png and b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png differ
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index aba2ec4612..686a75cc5a 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -12577,13 +12577,6 @@
"type": "text",
"mime": "text/html",
"attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "BCkXAVs63Ttv",
- "isInheritable": false,
- "position": 10
- },
{
"type": "relation",
"name": "internalLink",
@@ -12604,13 +12597,34 @@
"value": "note-map",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BCkXAVs63Ttv",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "OR8WJ7Iz9K4U",
+ "isInheritable": false,
+ "position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "m1lbrzyKDaRB",
+ "isInheritable": false,
+ "position": 50
}
],
"format": "markdown",
"dataFileName": "Note Map.md",
"attachments": [
{
- "attachmentId": "iSjacTLiMjyr",
+ "attachmentId": "X5AA9t2RCo0l",
"title": "image.png",
"role": "image",
"mime": "image/png",
@@ -17165,13 +17179,6 @@
"isInheritable": false,
"position": 60
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "bdUJEHsAPYQR",
- "isInheritable": false,
- "position": 70
- },
{
"type": "relation",
"name": "internalLink",
@@ -17192,6 +17199,41 @@
"value": "bx bxs-network-chart",
"isInheritable": false,
"position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "bdUJEHsAPYQR",
+ "isInheritable": false,
+ "position": 90
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "MKmLg5x6xkor",
+ "isInheritable": false,
+ "position": 100
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "p9kXRFAkwN4o",
+ "isInheritable": false,
+ "position": 110
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "xYmIYSP6wE3F",
+ "isInheritable": false,
+ "position": 120
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "OR8WJ7Iz9K4U",
+ "isInheritable": false,
+ "position": 130
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md b/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md
index 2769763cd5..06e0ff5e6c 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md
+++ b/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md
@@ -1,7 +1,5 @@
# Note Map (Link map, Tree map)
-Note map is a visualization of connections between notes.
-
-This provides an insight into a structure ("web") of notes.
+Note map is a visualization of connections between notes. This provides an insight into a structure ("web") of notes.
There are two types of note map:
@@ -10,15 +8,30 @@ There are two types of note map:
## Accessing the note map
-* On the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/New%20Layout.md">New Layout</a>, the note map is available in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar/Connections%20tab.md">Connections tab</a> in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a>.
-* On the old layout, the note map is a tab in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a>.
+The note map comes into multiple flavors:
+
+* To access the note map for the current note:
+ * On the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/New%20Layout.md">New Layout</a>, the note map is available in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar/Connections%20tab.md">Connections tab</a> in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a>.
+ * On the old layout, the note map is a tab in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a>.
+* To display a full-screen note map, there is a [dedicated note type](../Note%20Types/Note%20Map.md) with the same name.
+* To view the global note map (of all the notes in the knowledge base), there is a dedicated _Note map_ button in the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Launch%20Bar.md">Launch Bar</a>.
+
+## Terminology and structure
+
+* Each note is represented as a _node_ in the graph, with the title displayed underneath.
+ * When the map is zoomed out, the title can still be viewed by hovering over the node.
+ * The [icon and color](../Basic%20Concepts%20and%20Features/Notes/Note%20Icons%20%26%20Colors.md) of the note are respected.
+* The root node is the reference point for which the relations and hierarchical structure are displayed.
+ * When accessing the note map through the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Ribbon.md">Ribbon</a> or the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Right%20Sidebar.md">Right Sidebar</a> (new layout), the root node is the current note.
+ * When using a dedicated <a class="reference-link" href="../Note%20Types/Note%20Map.md">Note Map</a> note, the root note can be either the parent note, the currently [hoisted](../Basic%20Concepts%20and%20Features/Navigation/Note%20Hoisting.md) note or a specific note. See the note type documentation for more information.
## Interaction
* Nodes can be dragged around, but they will return to their original position once released.
-
* To have the notes remain in the same position as they were dragged, press the _Fix nodes_ button. The position of the notes is not saved, so it will return to normal once you navigate to another note or restart the application.
+* When hovering over a node, the adjacent relations and nodes are highlighted.
* The distance between nodes can be adjusted via the slider in the bottom-left. Similarly, this value is not saved.
+* <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Notes/Archived%20Notes.md">Archived Notes</a> are generally ignored by the note map in order to reduce clutter. There is one exception: if the root note is also archived, then all archived notes are displayed too.
## Link Map
@@ -39,13 +52,9 @@ Shows hierarchical map of notes:
<figure class="image"><img style="aspect-ratio:1420/1490;" src="1_Note Map (Link map, Tree map)_image.png" width="1420" height="1490"></figure>
-## Dedicated note type
-
-Apart from the note map feature which can be accessed from any note, it is also possible to create a dedicated note which will display the relations in full screen. See [Note Map](../Note%20Types/Note%20Map.md) for more information.
-
## See also
-<a class="reference-link" href="../Note%20Types/Relation%20Map.md">Relation Map</a> is a similar concept, with some differences:
-
-* note map is automatically generated while relation map must be created manually
-* relation map is a type of note while a link map is just virtual visualization
\ No newline at end of file
+* Apart from the note map feature which can be accessed from any note, it is also possible to create a dedicated note which will display the relations in full screen. See <a class="reference-link" href="../Note%20Types/Note%20Map.md">Note Map</a> for more information.
+* <a class="reference-link" href="../Note%20Types/Relation%20Map.md">Relation Map</a> is a similar concept, with some differences:
+ * note map is automatically generated while relation map must be created manually
+ * relation map is a type of note while a link map is just virtual visualization
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Note Map.md b/docs/User Guide/User Guide/Note Types/Note Map.md
index 4ccb9b722f..265dae4300 100644
--- a/docs/User Guide/User Guide/Note Types/Note Map.md
+++ b/docs/User Guide/User Guide/Note Types/Note Map.md
@@ -1,14 +1,26 @@
# Note Map
-<figure class="image image-style-align-center image_resized" style="width:50%;"><img style="aspect-ratio:856/763;" src="Note Map_image.png" width="856" height="763"></figure>
+<figure class="image image_resized" style="width:72.68%;"><img style="aspect-ratio:1311/1271;" src="Note Map_image.png" width="1311" height="1271"></figure>
-A Note map is a note type which displays a standalone version of the feature of the same name: [Note Map (Link map, Tree map)](../Advanced%20Usage/Note%20Map%20\(Link%20map%2C%20Tree%20map\).md).
+A Note map is a note type which displays a standalone version of the feature of the same name: <a class="reference-link" href="../Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map).md">Note Map (Link map, Tree map)</a>. Consult that page for more information on how the note map works and what it displays.
Once created, the note map will display the relations between notes. Only the notes that are part of the parent of the note map will be displayed (including their children).
+## Root note
+
+The root note defines the starting point of the graph, from which the relations and the hierarchy are derived from.
+
+There are three possible root notes:
+
+* The default root note is the parent note of the note map.
+* To use the currently [hoisted note](../Basic%20Concepts%20and%20Features/Navigation/Note%20Hoisting.md) instead, set the `mapRootNoteId` label to `hoisted`.
+* To use a specific note instead, set `mapRootNoteId` to the <a class="reference-link" href="../Advanced%20Usage/Note%20ID.md">Note ID</a> of the desired note.
+
+## Customization
+
The note map can be customized using the following <a class="reference-link" href="../Advanced%20Usage/Attributes/Labels.md">Labels</a>:
| Label | Description |
| --- | --- |
| `#mapIncludeRelation` | Comma-delimited relation names to include from the note map. |
| `#mapExcludeRelation` | Comma-delimited relation names to exclude from the note map. |
-| `#mapRootNoteId` | The ID of the note the map roots from, with a special value `hoisted` (default behavior). |
\ No newline at end of file
+| `#mapRootNoteId` | The ID of the note the map roots from, or `hoisted`. See the root note section above for more information. |
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Note Map_image.png b/docs/User Guide/User Guide/Note Types/Note Map_image.png
index 2ba7707df7..43fdd0749c 100644
Binary files a/docs/User Guide/User Guide/Note Types/Note Map_image.png and b/docs/User Guide/User Guide/Note Types/Note Map_image.png differ