diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index c9272927c..542605d99 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -137,6 +137,13 @@
"value": "attributes",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-list-check",
+ "isInheritable": false,
+ "position": 110
}
],
"format": "markdown",
@@ -182,6 +189,13 @@
"value": "attribute-inheritance",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-list-plus",
+ "isInheritable": false,
+ "position": 30
}
],
"format": "markdown",
@@ -230,7 +244,14 @@
"name": "shareAlias",
"value": "promoted-attributes",
"isInheritable": false,
- "position": 20
+ "position": 10
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-list-ul",
+ "isInheritable": false,
+ "position": 40
}
],
"format": "markdown",
@@ -338,6 +359,13 @@
"value": "template",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-copy",
+ "isInheritable": false,
+ "position": 110
}
],
"format": "markdown",
@@ -346,98 +374,6 @@
}
]
},
- {
- "isClone": false,
- "noteId": "iRwzGnHPzonm",
- "notePath": [
- "pOsGYCXsbNQG",
- "tC7s2alapj8V",
- "iRwzGnHPzonm"
- ],
- "title": "Relation Map",
- "notePosition": 20,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "OFXdgB2nNk1F",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "wX4HbRucYSDD",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "BCkXAVs63Ttv",
- "isInheritable": false,
- "position": 40
- },
- {
- "type": "relation",
- "name": "imageLink",
- "value": "EH6qNioOHeyT",
- "isInheritable": false,
- "position": 50
- },
- {
- "type": "relation",
- "name": "imageLink",
- "value": "xeZPrfi77XPu",
- "isInheritable": false,
- "position": 60
- },
- {
- "type": "relation",
- "name": "imageLink",
- "value": "N98UhifxrVpZ",
- "isInheritable": false,
- "position": 70
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "kBrnXNG3Hplm",
- "isInheritable": false,
- "position": 80
- },
- {
- "type": "label",
- "name": "shareAlias",
- "value": "relation-map",
- "isInheritable": false,
- "position": 30
- }
- ],
- "format": "markdown",
- "dataFileName": "Relation Map.md",
- "attachments": [
- {
- "attachmentId": "x92CIQzusTuc",
- "title": "relation-map-dev-process-demo.gif",
- "role": "image",
- "mime": "image/gif",
- "position": 10,
- "dataFileName": "Relation Map_relation-map-.gif"
- }
- ]
- },
{
"isClone": false,
"noteId": "BCkXAVs63Ttv",
@@ -446,7 +382,7 @@
"tC7s2alapj8V",
"BCkXAVs63Ttv"
],
- "title": "Note Map",
+ "title": "Note Map (Link map, Tree map)",
"notePosition": 30,
"prefix": null,
"isExpanded": false,
@@ -473,10 +409,17 @@
"value": "note-map",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "bdUJEHsAPYQR",
+ "isInheritable": false,
+ "position": 40
}
],
"format": "markdown",
- "dataFileName": "Note Map.md",
+ "dataFileName": "Note Map (Link map, Tree map).md",
"attachments": [
{
"attachmentId": "F48iB3BbITHb",
@@ -484,7 +427,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "Note Map_image.png"
+ "dataFileName": "Note Map (Link map, Tree m.png"
},
{
"attachmentId": "scmGuoLQPj8C",
@@ -492,7 +435,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Note Map_image.png"
+ "dataFileName": "1_Note Map (Link map, Tree m.png"
}
]
},
@@ -5393,30 +5336,102 @@
},
{
"isClone": false,
- "noteId": "joqzSrDccPKf",
+ "noteId": "iRwzGnHPzonm",
"notePath": [
"pOsGYCXsbNQG",
"KSZ04uQ2D1St",
- "joqzSrDccPKf"
+ "iRwzGnHPzonm"
],
"title": "Relation Map",
"notePosition": 70,
"prefix": null,
"isExpanded": false,
"type": "text",
- "mime": "text/html",
+ "mime": "text/markdown",
"attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "zEY4DaJG4YT5",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "OFXdgB2nNk1F",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "wX4HbRucYSDD",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "relation",
+ "name": "imageLink",
+ "value": "EH6qNioOHeyT",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "imageLink",
+ "value": "xeZPrfi77XPu",
+ "isInheritable": false,
+ "position": 60
+ },
+ {
+ "type": "relation",
+ "name": "imageLink",
+ "value": "N98UhifxrVpZ",
+ "isInheritable": false,
+ "position": 70
+ },
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "relation-map",
+ "isInheritable": false,
+ "position": 10
+ },
{
"type": "label",
"name": "iconClass",
"value": "bx bxs-network-chart",
"isInheritable": false,
- "position": 10
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BFs8mudNFgCS",
+ "isInheritable": false,
+ "position": 80
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BCkXAVs63Ttv",
+ "isInheritable": false,
+ "position": 90
}
],
"format": "markdown",
"dataFileName": "Relation Map.md",
- "attachments": []
+ "attachments": [
+ {
+ "attachmentId": "x92CIQzusTuc",
+ "title": "relation-map-dev-process-demo.gif",
+ "role": "image",
+ "mime": "image/gif",
+ "position": 10,
+ "dataFileName": "Relation Map_relation-map-.gif"
+ }
+ ]
},
{
"isClone": false,
@@ -5427,7 +5442,7 @@
"bdUJEHsAPYQR"
],
"title": "Note Map",
- "notePosition": 80,
+ "notePosition": 90,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5439,11 +5454,27 @@
"value": "bx bxs-network-chart",
"isInheritable": false,
"position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BCkXAVs63Ttv",
+ "isInheritable": false,
+ "position": 20
}
],
"format": "markdown",
"dataFileName": "Note Map.md",
- "attachments": []
+ "attachments": [
+ {
+ "attachmentId": "iSjacTLiMjyr",
+ "title": "image.png",
+ "role": "image",
+ "mime": "image/png",
+ "position": 10,
+ "dataFileName": "Note Map_image.png"
+ }
+ ]
},
{
"isClone": false,
@@ -5454,7 +5485,7 @@
"HcABDtFCkbFN"
],
"title": "Render Note",
- "notePosition": 100,
+ "notePosition": 110,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5481,7 +5512,7 @@
"GTwFsgaA0lCt"
],
"title": "Book",
- "notePosition": 120,
+ "notePosition": 130,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5667,7 +5698,7 @@
"s1aBHPd79XYj"
],
"title": "Mermaid Diagrams",
- "notePosition": 130,
+ "notePosition": 140,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5774,7 +5805,7 @@
"grjYqerjn243"
],
"title": "Canvas",
- "notePosition": 150,
+ "notePosition": 160,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5810,7 +5841,7 @@
"1vHRoWCEjj0L"
],
"title": "Web View",
- "notePosition": 160,
+ "notePosition": 170,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5837,7 +5868,7 @@
"gBbsAeiuUxI5"
],
"title": "Mind Map",
- "notePosition": 170,
+ "notePosition": 180,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5864,7 +5895,7 @@
"81SGnPGMk7Xc"
],
"title": "Geo map",
- "notePosition": 180,
+ "notePosition": 190,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6853,6 +6884,23 @@
}
]
},
+ {
+ "isClone": false,
+ "noteId": "Mn9xGz3MMex8",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "Mn9xGz3MMex8"
+ ],
+ "title": "New note",
+ "notePosition": 230,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "noteMap",
+ "mime": "",
+ "attributes": [],
+ "dataFileName": "New note.dat",
+ "attachments": []
+ },
{
"isClone": false,
"noteId": "Wxt3vVlxlYLi",
@@ -6861,7 +6909,7 @@
"Wxt3vVlxlYLi"
],
"title": "Attachments",
- "notePosition": 240,
+ "notePosition": 250,
"prefix": null,
"isExpanded": false,
"type": "text",
diff --git a/docs/User Guide/User Guide/Advanced Usage/1_Note Map_image.png b/docs/User Guide/User Guide/Advanced Usage/1_Note Map (Link map, Tree m.png
similarity index 100%
rename from docs/User Guide/User Guide/Advanced Usage/1_Note Map_image.png
rename to docs/User Guide/User Guide/Advanced Usage/1_Note Map (Link map, Tree m.png
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md
index b11d347af..010822f9a 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases.md
@@ -1,7 +1,7 @@
# Advanced Showcases
Trilium offers advanced functionality through [Scripts](../Note%20Types/Code/Scripts.md) and [Promoted Attributes](Attributes/Promoted%20Attributes.md). To illustrate these features, we've prepared several showcases available in the [demo notes](Database.md):
-* [Relation Map](Relation%20Map.md)
+* [Relation Map](../Note%20Types/Relation%20Map.md)
* [Day Notes](Advanced%20Showcases/Day%20Notes.md)
* [Weight Tracker](Advanced%20Showcases/Weight%20Tracker.md)
* [Task Manager](Advanced%20Showcases/Task%20Manager.md)
diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes/Template.md b/docs/User Guide/User Guide/Advanced Usage/Attributes/Template.md
index dbd152f03..387cff4e8 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Attributes/Template.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Attributes/Template.md
@@ -31,6 +31,6 @@ Templates can also be added or changed after note creation by creating a `~templ
From a visual perspective, templates can define `#iconClass` and `#cssClass` attributes, allowing all instance notes (e.g., books) to display a specific icon and CSS style.
-Explore the concept further in the [demo notes](../Database.md), including examples like the [Relation Map](../Relation%20Map.md), [Task Manager](../Advanced%20Showcases/Task%20Manager.md), and [Day Notes](../Advanced%20Showcases/Day%20Notes.md).
+Explore the concept further in the [demo notes](../Database.md), including examples like the [Relation Map](../../Note%20Types/Relation%20Map.md), [Task Manager](../Advanced%20Showcases/Task%20Manager.md), and [Day Notes](../Advanced%20Showcases/Day%20Notes.md).
Additionally, see [default note title](../Default%20Note%20Title.md) for creating title templates. Note templates and title templates can be combined by creating a `#titleTemplate` for a template note.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Database.md b/docs/User Guide/User Guide/Advanced Usage/Database.md
index 10a4fe415..e13e6a29d 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Database.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Database.md
@@ -5,7 +5,7 @@ Your Trilium data is stored in a [SQLite](https://www.sqlite.org) database which
When you run Trilium for the first time, it will generate a new database containing demo notes. These notes showcase its many features, such as:
-* [Relation Map](Relation%20Map.md)
+* [Relation Map](../Note%20Types/Relation%20Map.md)
* [Day Notes](Advanced%20Showcases/Day%20Notes.md)
* [Weight Tracker](Advanced%20Showcases/Weight%20Tracker.md)
* [Task Manager](Advanced%20Showcases/Task%20Manager.md)
diff --git a/docs/User Guide/User Guide/Advanced Usage/Note Map_image.png b/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree m.png
similarity index 100%
rename from docs/User Guide/User Guide/Advanced Usage/Note Map_image.png
rename to docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree m.png
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
new file mode 100644
index 000000000..67ad6dcf2
--- /dev/null
+++ b/docs/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).md
@@ -0,0 +1,32 @@
+# Note Map (Link map, Tree map)
+Note map is a visualisation of connections between notes.
+
+This provides an insight into a structure ("web") of notes.
+
+There are two types of note map:
+
+* Link Map, which shows relations between notes.
+* Note Map, which shows the hierarchical tree structure.
+
+## Link Map
+
+Shows [relations](Attributes.md) between notes:
+
+
+
+## Tree Map
+
+Shows hierarchical map of notes:
+
+
+
+## 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
+
+[Relation map](../Note%20Types/Relation%20Map.md) 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/Advanced Usage/Note Map.md b/docs/User Guide/User Guide/Advanced Usage/Note Map.md
deleted file mode 100644
index 623cdb069..000000000
--- a/docs/User Guide/User Guide/Advanced Usage/Note Map.md
+++ /dev/null
@@ -1,25 +0,0 @@
-# Note Map
-Note map is a visualisation of connections between notes.
-
-This provides an insight into a structure ("web") of notes.
-
-There are two types of note map:
-
-## Link Map
-
-Shows [relations](Attributes.md) between notes:
-
-
-
-## Tree Map
-
-Shows hierarchical map of notes:
-
-
-
-## See also
-
-[Relation map](Relation%20Map.md) 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/Advanced Usage/Relation Map.md b/docs/User Guide/User Guide/Advanced Usage/Relation Map.md
deleted file mode 100644
index dd621bcb2..000000000
--- a/docs/User Guide/User Guide/Advanced Usage/Relation Map.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# Relation Map
-Relation map is a type of [note](../Basic%20Concepts/Navigation/Tree%20Concepts.md) which visualizes notes and their [relations](Attributes.md). See an example:
-
-## Development process demo
-
-This is a basic example how you can create simple diagram using relation maps:
-
-
-
-And this is how you can create it:
-
-
-
-We start completely from scratch by first creating new note called "Development process" and changing its type to "Relation map". After that we create new notes one by one and place them by clicking into the map. We also drag [relations](Attributes.md)between notes and name them. That's all!
-
-Items on the map - "Specification", "Development", "Testing" and "Demo" are actually notes which have been created under "Development process" note - you can click on them and write some content. Connections between notes are called "[relations](Attributes.md)".
-
-## Family demo
-
-This is more complicated demo using some advanced concepts. Resulting diagram is here:
-
-
-
-This is how you get to it:
-
-
-
-There are several steps here:
-
-* we start with empty relation map and two existing notes representing Prince Philip and Queen Elizabeth II. These two notes already have "isPartnerOf" [relations](Attributes.md)defined.
- * There are actually two "inverse" relations (one from Philip to Elizabeth and one from Elizabeth to Philip)
-* we drag both notes to relation map and place to suitable position. Notice how the existing "isPartnerOf" relations are displayed.
-* now we create new note - we name it "Prince Charles" and place it on the relation map by clicking on the desired position. The note is by default created under the relation map note (visible in the note tree on the left).
-* we create two new relations "isChildOf" targeting both Philip and Elizabeth
- * now there's something unexpected - we can also see the relation to display another "hasChild" relation. This is because there's a [relation definition](Attributes/Promoted%20Attributes.md) which puts "isChildOf" as an "[inverse](Attributes/Promoted%20Attributes.md)" relation of "hasChildOf" (and vice versa) and thus it is created automatically.
-* we create another note for Princess Diana and create "isPartnerOf" relation from Charles. Again notice how the relation has arrows both ways - this is because "isPartnerOf" definition specifies its inverse relation as again "isPartnerOf" so the opposite relation is created automatically.
-* as the last step we pan & zoom the map to fit better to window dimensions.
-
-Relation definitions mentioned above come from "Person template" note which is assigned to any child of "My Family Tree" relation note. You can play with the whole thing in the [demo notes](Database.md).
-
-## Details
-
-You can specify which relations should be displayed with comma delimited names of relations in `displayRelations` label.
-
-Alternatively, you can specify comma delimited list of relation names in `hideRelations` which will display all relations, except for the ones defined in the label.
-
-## See also
-
-* [Note map](Note%20Map.md) is a similar concept
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Basic Concepts/Note.md b/docs/User Guide/User Guide/Basic Concepts/Note.md
index 9e8dad5e5..f4cc85113 100644
--- a/docs/User Guide/User Guide/Basic Concepts/Note.md
+++ b/docs/User Guide/User Guide/Basic Concepts/Note.md
@@ -9,7 +9,7 @@ Note is a central entity in Trilium. Main attributes of note are title and conte
* file note - represents uploaded file (e.g. docx MS Word document).
* render HTML note - this works as an output screen of attached [scripts](../Note%20Types/Code/Scripts.md)
* [saved search](../Note%20Types/Saved%20Search.md) note - contains saved search query and dynamically displays result of the search as its sub-notes
-* [relation map](../Advanced%20Usage/Relation%20Map.md) note - visualizes notes and their relations
+* [relation map](../Note%20Types/Relation%20Map.md) note - visualizes notes and their relations
* [book note](../Note%20Types/Book.md) - displays its children notes, useful for reading many short notes
* mermaid - create diagrams and flowcharts using [mermaid.js ↗](https://github.com/mermaid-js/mermaid)
* [canvas note](#root/fKYGY3OOo5d1) - allows hand drawn notes and basic diagraming on an infinite canvas using [excalidraw ↗](https://github.com/excalidraw/excalidraw)
diff --git a/docs/User Guide/User Guide/FAQ.md b/docs/User Guide/User Guide/FAQ.md
index da5cfa02a..8ca80060b 100644
--- a/docs/User Guide/User Guide/FAQ.md
+++ b/docs/User Guide/User Guide/FAQ.md
@@ -53,5 +53,5 @@ More detailed answer:
* filesystems make a distinction between directory and file while there's intentionally no such difference in Trilium
* files are stored in no particular order and user can't change this
* Trilium allows storing note [attributes](Advanced%20Usage/Attributes.md) which could be represented in extended user attributes but their support differs greatly among different filesystems / operating systems
-* Trilium makes links / relations between different notes which can be quickly retrieved / navigated (e.g. for [note map](Advanced%20Usage/Note%20Map.md)). There's no such support in file systems which means these would have to be stored in some kind of side-car files (mini-databases).
+* Trilium makes links / relations between different notes which can be quickly retrieved / navigated (e.g. for [note map](Advanced%20Usage/Note%20Map%20\(Link%20map%2C%20Tree%20map\).md)). There's no such support in file systems which means these would have to be stored in some kind of side-car files (mini-databases).
* Filesystems are generally not transactional. While this is not completely required for a note-taking application, having transactions make it way easier to keep notes and their metadata in predictable and consistent state.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/New note.dat b/docs/User Guide/User Guide/New note.dat
new file mode 100644
index 000000000..e69de29bb
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 e69de29bb..930efb82f 100644
--- a/docs/User Guide/User Guide/Note Types/Note Map.md
+++ b/docs/User Guide/User Guide/Note Types/Note Map.md
@@ -0,0 +1,6 @@
+# Note Map
+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).
+
+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).
+
+
\ 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
new file mode 100644
index 000000000..3257f0357
Binary files /dev/null and b/docs/User Guide/User Guide/Note Types/Note Map_image.png differ
diff --git a/docs/User Guide/User Guide/Note Types/Relation Map.md b/docs/User Guide/User Guide/Note Types/Relation Map.md
index e69de29bb..661a20658 100644
--- a/docs/User Guide/User Guide/Note Types/Relation Map.md
+++ b/docs/User Guide/User Guide/Note Types/Relation Map.md
@@ -0,0 +1,49 @@
+# Relation Map
+Relation map is a type of [Note](../Basic%20Concepts/Note.md) which visualizes notes and their [relations](../Advanced%20Usage/Attributes.md). See an example:
+
+## Development process demo
+
+This is a basic example how you can create simple diagram using relation maps:
+
+
+
+And this is how you can create it:
+
+
+
+We start completely from scratch by first creating new note called "Development process" and changing its type to "Relation map". After that we create new notes one by one and place them by clicking into the map. We also drag [relations](../Advanced%20Usage/Attributes.md)between notes and name them. That's all!
+
+Items on the map - "Specification", "Development", "Testing" and "Demo" are actually notes which have been created under "Development process" note - you can click on them and write some content. Connections between notes are called "[relations](../Advanced%20Usage/Attributes.md)".
+
+## Family demo
+
+This is more complicated demo using some advanced concepts. Resulting diagram is here:
+
+
+
+This is how you get to it:
+
+
+
+There are several steps here:
+
+* we start with empty relation map and two existing notes representing Prince Philip and Queen Elizabeth II. These two notes already have "isPartnerOf" [relations](../Advanced%20Usage/Attributes.md)defined.
+ * There are actually two "inverse" relations (one from Philip to Elizabeth and one from Elizabeth to Philip)
+* we drag both notes to relation map and place to suitable position. Notice how the existing "isPartnerOf" relations are displayed.
+* now we create new note - we name it "Prince Charles" and place it on the relation map by clicking on the desired position. The note is by default created under the relation map note (visible in the note tree on the left).
+* we create two new relations "isChildOf" targeting both Philip and Elizabeth
+ * now there's something unexpected - we can also see the relation to display another "hasChild" relation. This is because there's a [relation definition](../Advanced%20Usage/Attributes/Promoted%20Attributes.md) which puts "isChildOf" as an "[inverse](../Advanced%20Usage/Attributes/Promoted%20Attributes.md)" relation of "hasChildOf" (and vice versa) and thus it is created automatically.
+* we create another note for Princess Diana and create "isPartnerOf" relation from Charles. Again notice how the relation has arrows both ways - this is because "isPartnerOf" definition specifies its inverse relation as again "isPartnerOf" so the opposite relation is created automatically.
+* as the last step we pan & zoom the map to fit better to window dimensions.
+
+Relation definitions mentioned above come from "Person template" note which is assigned to any child of "My Family Tree" relation note. You can play with the whole thing in the [demo notes](../Advanced%20Usage/Database.md).
+
+## Details
+
+You can specify which relations should be displayed with comma delimited names of relations in `displayRelations` label.
+
+Alternatively, you can specify comma delimited list of relation names in `hideRelations` which will display all relations, except for the ones defined in the label.
+
+## See also
+
+* [Note Map](../Advanced%20Usage/Note%20Map%20\(Link%20map%2C%20Tree%20map\).md) is a similar concept
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Relation Map_relation-map-.gif b/docs/User Guide/User Guide/Note Types/Relation Map_relation-map-.gif
similarity index 100%
rename from docs/User Guide/User Guide/Advanced Usage/Relation Map_relation-map-.gif
rename to docs/User Guide/User Guide/Note Types/Relation Map_relation-map-.gif
diff --git a/docs/User Guide/User Guide/Note Types/Text/Links.md b/docs/User Guide/User Guide/Note Types/Text/Links.md
index 857a8ab47..37c7d2660 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Links.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Links.md
@@ -30,4 +30,4 @@ Trilium also provides "inline" linking - type `@` and you'll see an autocomplete
## Note map
-Trilium provides a visualisation of incoming and outgoing links for a particular note. See [note map](../../Advanced%20Usage/Note%20Map.md) for details.
\ No newline at end of file
+Trilium provides a visualisation of incoming and outgoing links for a particular note. See [note map](../../Advanced%20Usage/Note%20Map%20\(Link%20map%2C%20Tree%20map\).md) for details.
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/!!!meta.json b/src/public/app/doc_notes/en/User Guide/!!!meta.json
index 4c9b98201..e8c16afc4 100644
--- a/src/public/app/doc_notes/en/User Guide/!!!meta.json
+++ b/src/public/app/doc_notes/en/User Guide/!!!meta.json
@@ -137,6 +137,13 @@
"value": "attributes",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-list-check",
+ "isInheritable": false,
+ "position": 110
}
],
"format": "html",
@@ -182,6 +189,13 @@
"value": "attribute-inheritance",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-list-plus",
+ "isInheritable": false,
+ "position": 30
}
],
"format": "html",
@@ -230,7 +244,14 @@
"name": "shareAlias",
"value": "promoted-attributes",
"isInheritable": false,
- "position": 20
+ "position": 10
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-list-ul",
+ "isInheritable": false,
+ "position": 40
}
],
"format": "html",
@@ -338,6 +359,13 @@
"value": "template",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-copy",
+ "isInheritable": false,
+ "position": 110
}
],
"format": "html",
@@ -346,98 +374,6 @@
}
]
},
- {
- "isClone": false,
- "noteId": "iRwzGnHPzonm",
- "notePath": [
- "pOsGYCXsbNQG",
- "tC7s2alapj8V",
- "iRwzGnHPzonm"
- ],
- "title": "Relation Map",
- "notePosition": 20,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "OFXdgB2nNk1F",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "wX4HbRucYSDD",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "BCkXAVs63Ttv",
- "isInheritable": false,
- "position": 40
- },
- {
- "type": "relation",
- "name": "imageLink",
- "value": "EH6qNioOHeyT",
- "isInheritable": false,
- "position": 50
- },
- {
- "type": "relation",
- "name": "imageLink",
- "value": "xeZPrfi77XPu",
- "isInheritable": false,
- "position": 60
- },
- {
- "type": "relation",
- "name": "imageLink",
- "value": "N98UhifxrVpZ",
- "isInheritable": false,
- "position": 70
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "kBrnXNG3Hplm",
- "isInheritable": false,
- "position": 80
- },
- {
- "type": "label",
- "name": "shareAlias",
- "value": "relation-map",
- "isInheritable": false,
- "position": 30
- }
- ],
- "format": "html",
- "dataFileName": "Relation Map.html",
- "attachments": [
- {
- "attachmentId": "x92CIQzusTuc",
- "title": "relation-map-dev-process-demo.gif",
- "role": "image",
- "mime": "image/gif",
- "position": 10,
- "dataFileName": "Relation Map_relation-map-.gif"
- }
- ]
- },
{
"isClone": false,
"noteId": "BCkXAVs63Ttv",
@@ -446,7 +382,7 @@
"tC7s2alapj8V",
"BCkXAVs63Ttv"
],
- "title": "Note Map",
+ "title": "Note Map (Link map, Tree map)",
"notePosition": 30,
"prefix": null,
"isExpanded": false,
@@ -473,10 +409,17 @@
"value": "note-map",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "bdUJEHsAPYQR",
+ "isInheritable": false,
+ "position": 40
}
],
"format": "html",
- "dataFileName": "Note Map.html",
+ "dataFileName": "Note Map (Link map, Tree map).html",
"attachments": [
{
"attachmentId": "F48iB3BbITHb",
@@ -484,7 +427,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "Note Map_image.png"
+ "dataFileName": "Note Map (Link map, Tree m.png"
},
{
"attachmentId": "scmGuoLQPj8C",
@@ -492,7 +435,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Note Map_image.png"
+ "dataFileName": "1_Note Map (Link map, Tree m.png"
}
]
},
@@ -5393,30 +5336,102 @@
},
{
"isClone": false,
- "noteId": "joqzSrDccPKf",
+ "noteId": "iRwzGnHPzonm",
"notePath": [
"pOsGYCXsbNQG",
"KSZ04uQ2D1St",
- "joqzSrDccPKf"
+ "iRwzGnHPzonm"
],
"title": "Relation Map",
"notePosition": 70,
"prefix": null,
"isExpanded": false,
"type": "text",
- "mime": "text/html",
+ "mime": "text/markdown",
"attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "zEY4DaJG4YT5",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "OFXdgB2nNk1F",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "wX4HbRucYSDD",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "relation",
+ "name": "imageLink",
+ "value": "EH6qNioOHeyT",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "imageLink",
+ "value": "xeZPrfi77XPu",
+ "isInheritable": false,
+ "position": 60
+ },
+ {
+ "type": "relation",
+ "name": "imageLink",
+ "value": "N98UhifxrVpZ",
+ "isInheritable": false,
+ "position": 70
+ },
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "relation-map",
+ "isInheritable": false,
+ "position": 10
+ },
{
"type": "label",
"name": "iconClass",
"value": "bx bxs-network-chart",
"isInheritable": false,
- "position": 10
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BFs8mudNFgCS",
+ "isInheritable": false,
+ "position": 80
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BCkXAVs63Ttv",
+ "isInheritable": false,
+ "position": 90
}
],
"format": "html",
"dataFileName": "Relation Map.html",
- "attachments": []
+ "attachments": [
+ {
+ "attachmentId": "x92CIQzusTuc",
+ "title": "relation-map-dev-process-demo.gif",
+ "role": "image",
+ "mime": "image/gif",
+ "position": 10,
+ "dataFileName": "Relation Map_relation-map-.gif"
+ }
+ ]
},
{
"isClone": false,
@@ -5427,7 +5442,7 @@
"bdUJEHsAPYQR"
],
"title": "Note Map",
- "notePosition": 80,
+ "notePosition": 90,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5439,11 +5454,27 @@
"value": "bx bxs-network-chart",
"isInheritable": false,
"position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BCkXAVs63Ttv",
+ "isInheritable": false,
+ "position": 20
}
],
"format": "html",
"dataFileName": "Note Map.html",
- "attachments": []
+ "attachments": [
+ {
+ "attachmentId": "iSjacTLiMjyr",
+ "title": "image.png",
+ "role": "image",
+ "mime": "image/png",
+ "position": 10,
+ "dataFileName": "Note Map_image.png"
+ }
+ ]
},
{
"isClone": false,
@@ -5454,7 +5485,7 @@
"HcABDtFCkbFN"
],
"title": "Render Note",
- "notePosition": 100,
+ "notePosition": 110,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5481,7 +5512,7 @@
"GTwFsgaA0lCt"
],
"title": "Book",
- "notePosition": 120,
+ "notePosition": 130,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5667,7 +5698,7 @@
"s1aBHPd79XYj"
],
"title": "Mermaid Diagrams",
- "notePosition": 130,
+ "notePosition": 140,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5774,7 +5805,7 @@
"grjYqerjn243"
],
"title": "Canvas",
- "notePosition": 150,
+ "notePosition": 160,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5810,7 +5841,7 @@
"1vHRoWCEjj0L"
],
"title": "Web View",
- "notePosition": 160,
+ "notePosition": 170,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5837,7 +5868,7 @@
"gBbsAeiuUxI5"
],
"title": "Mind Map",
- "notePosition": 170,
+ "notePosition": 180,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -5864,7 +5895,7 @@
"81SGnPGMk7Xc"
],
"title": "Geo map",
- "notePosition": 180,
+ "notePosition": 190,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -6853,6 +6884,23 @@
}
]
},
+ {
+ "isClone": false,
+ "noteId": "Mn9xGz3MMex8",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "Mn9xGz3MMex8"
+ ],
+ "title": "New note",
+ "notePosition": 230,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "noteMap",
+ "mime": "",
+ "attributes": [],
+ "dataFileName": "New note.dat",
+ "attachments": []
+ },
{
"isClone": false,
"noteId": "Wxt3vVlxlYLi",
@@ -6861,7 +6909,7 @@
"Wxt3vVlxlYLi"
],
"title": "Attachments",
- "notePosition": 240,
+ "notePosition": 250,
"prefix": null,
"isExpanded": false,
"type": "text",
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/1_Note Map_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/1_Note Map (Link map, Tree m.png
similarity index 100%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/1_Note Map_image.png
rename to src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/1_Note Map (Link map, Tree m.png
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html
index f850bd6ee..e586f5a46 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases.html
@@ -18,7 +18,7 @@
href="Attributes/Promoted%20Attributes.html">Promoted Attributes. To illustrate these features, we've prepared
several showcases available in the demo notes :
- Relation Map
+ Relation Map
Day Notes
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Template.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Template.html
index 2fbb6b93a..41eff6097 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Template.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Template.html
@@ -61,7 +61,7 @@
allowing all instance notes (e.g., books) to display a specific icon and
CSS style.
Explore the concept further in the demo notes ,
- including examples like the Relation Map ,
+ including examples like the Relation Map ,
Task Manager , and Day Notes .
Additionally, see default note title for
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html
index 4a8922bbb..f2bac83ab 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Database.html
@@ -21,7 +21,7 @@
When you run Trilium for the first time, it will generate a new database
containing demo notes. These notes showcase its many features, such as:
- Relation Map
+ Relation Map
Day Notes
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree m.png
similarity index 100%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map_image.png
rename to src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree m.png
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html
similarity index 52%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map.html
rename to src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html
index 36615a27a..b546f5446 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Note Map (Link map, Tree map).html
@@ -5,30 +5,39 @@
- Note Map
+ Note Map (Link map, Tree map)
-
Note Map
+
Note Map (Link map, Tree map)
Note map is a visualisation of connections between notes.
This provides an insight into a structure ("web") of notes.
There are two types of note map:
+
+ Link Map, which shows relations between notes.
+ Note Map, which shows the hierarchical tree structure.
+
Link Map
Shows relations between notes:
-
+
Tree Map
Shows hierarchical map of notes:
-
+
+
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 for
+ more information.
See also
-
Relation map is a similar concept, with
- some differences:
+
Relation map is a similar
+ concept, with some differences:
note map is automatically generated while relation map must be created
manually
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Relation Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Relation Map.html
deleted file mode 100644
index f1ce9dadb..000000000
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Relation Map.html
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
-
-
-
-
- Relation Map
-
-
-
-
-
Relation Map
-
-
-
Relation map is a type of note which
- visualizes notes and their relations . See
- an example:
-
Development process demo
-
This is a basic example how you can create simple diagram using relation
- maps:
-
-
-
-
And this is how you can create it:
-
-
-
-
We start completely from scratch by first creating new note called "Development
- process" and changing its type to "Relation map". After that we create
- new notes one by one and place them by clicking into the map. We also drag
- relations between notes and name them. That's all!
-
Items on the map - "Specification", "Development", "Testing" and "Demo"
- are actually notes which have been created under "Development process"
- note - you can click on them and write some content. Connections between
- notes are called "relations ".
-
Family demo
-
This is more complicated demo using some advanced concepts. Resulting
- diagram is here:
-
-
-
-
This is how you get to it:
-
-
-
-
There are several steps here:
-
- we start with empty relation map and two existing notes representing Prince
- Philip and Queen Elizabeth II. These two notes already have "isPartnerOf"
- relations defined.
-
- There are actually two "inverse" relations (one from Philip to Elizabeth
- and one from Elizabeth to Philip)
-
-
- we drag both notes to relation map and place to suitable position. Notice
- how the existing "isPartnerOf" relations are displayed.
- now we create new note - we name it "Prince Charles" and place it on the
- relation map by clicking on the desired position. The note is by default
- created under the relation map note (visible in the note tree on the left).
- we create two new relations "isChildOf" targeting both Philip and Elizabeth
-
- now there's something unexpected - we can also see the relation to display
- another "hasChild" relation. This is because there's a relation definition which
- puts "isChildOf" as an "inverse "
- relation of "hasChildOf" (and vice versa) and thus it is created automatically.
-
-
- we create another note for Princess Diana and create "isPartnerOf" relation
- from Charles. Again notice how the relation has arrows both ways - this
- is because "isPartnerOf" definition specifies its inverse relation as again
- "isPartnerOf" so the opposite relation is created automatically.
- as the last step we pan & zoom the map to fit better to window dimensions.
-
-
Relation definitions mentioned above come from "Person template" note
- which is assigned to any child of "My Family Tree" relation note. You can
- play with the whole thing in the demo notes .
-
Details
-
You can specify which relations should be displayed with comma delimited
- names of relations in displayRelations
label.
-
Alternatively, you can specify comma delimited list of relation names
- in hideRelations
which will display all relations, except for
- the ones defined in the label.
-
See also
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Note.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Note.html
index ed7f38ecb..bc76a1746 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Note.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts/Note.html
@@ -30,8 +30,8 @@
saved search note - contains
saved search query and dynamically displays result of the search as its
sub-notes
- relation map note
- - visualizes notes and their relations
+ relation map note - visualizes
+ notes and their relations
book note - displays its children
notes, useful for reading many short notes
mermaid - create diagrams and flowcharts using mermaid.js ↗
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html b/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html
index 1c841a973..b13b3f51b 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/FAQ.html
@@ -80,7 +80,7 @@
could be represented in extended user attributes but their support differs
greatly among different filesystems / operating systems
Trilium makes links / relations between different notes which can be quickly
- retrieved / navigated (e.g. for note map ).
+ retrieved / navigated (e.g. for note map ).
There's no such support in file systems which means these would have to
be stored in some kind of side-car files (mini-databases).
Filesystems are generally not transactional. While this is not completely
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/New note.dat b/src/public/app/doc_notes/en/User Guide/User Guide/New note.dat
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
index 3fe7b46f0..868fab62d 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map.html
@@ -12,7 +12,16 @@
Note Map
-
+
+
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) .
+
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).
+
+
+
+
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png
new file mode 100644
index 000000000..3257f0357
Binary files /dev/null and b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Note Map_image.png differ
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html
index 609c125bb..9bd5baae9 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Relation Map.html
@@ -12,7 +12,84 @@
Relation Map
-
+
+
Relation map is a type of Note which
+ visualizes notes and their relations .
+ See an example:
+
Development process demo
+
This is a basic example how you can create simple diagram using relation
+ maps:
+
+
+
+
And this is how you can create it:
+
+
+
+
We start completely from scratch by first creating new note called "Development
+ process" and changing its type to "Relation map". After that we create
+ new notes one by one and place them by clicking into the map. We also drag
+ relations between notes and name them. That's all!
+
Items on the map - "Specification", "Development", "Testing" and "Demo"
+ are actually notes which have been created under "Development process"
+ note - you can click on them and write some content. Connections between
+ notes are called "relations ".
+
Family demo
+
This is more complicated demo using some advanced concepts. Resulting
+ diagram is here:
+
+
+
+
This is how you get to it:
+
+
+
+
There are several steps here:
+
+ we start with empty relation map and two existing notes representing Prince
+ Philip and Queen Elizabeth II. These two notes already have "isPartnerOf"
+ relations defined.
+
+ There are actually two "inverse" relations (one from Philip to Elizabeth
+ and one from Elizabeth to Philip)
+
+
+ we drag both notes to relation map and place to suitable position. Notice
+ how the existing "isPartnerOf" relations are displayed.
+ now we create new note - we name it "Prince Charles" and place it on the
+ relation map by clicking on the desired position. The note is by default
+ created under the relation map note (visible in the note tree on the left).
+ we create two new relations "isChildOf" targeting both Philip and Elizabeth
+
+ now there's something unexpected - we can also see the relation to display
+ another "hasChild" relation. This is because there's a relation definition which
+ puts "isChildOf" as an "inverse "
+ relation of "hasChildOf" (and vice versa) and thus it is created automatically.
+
+
+ we create another note for Princess Diana and create "isPartnerOf" relation
+ from Charles. Again notice how the relation has arrows both ways - this
+ is because "isPartnerOf" definition specifies its inverse relation as again
+ "isPartnerOf" so the opposite relation is created automatically.
+ as the last step we pan & zoom the map to fit better to window dimensions.
+
+
Relation definitions mentioned above come from "Person template" note
+ which is assigned to any child of "My Family Tree" relation note. You can
+ play with the whole thing in the demo notes .
+
Details
+
You can specify which relations should be displayed with comma delimited
+ names of relations in displayRelations
label.
+
Alternatively, you can specify comma delimited list of relation names
+ in hideRelations
which will display all relations, except for
+ the ones defined in the label.
+
See also
+
+