From a9193dd695bbc7f739f7301b0fc106be0ed5fdee Mon Sep 17 00:00:00 2001 From: zsviczian Date: Sat, 28 Jan 2023 23:47:06 +0100 Subject: [PATCH] updated mindmap format description --- ea-scripts/index-new.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ea-scripts/index-new.md b/ea-scripts/index-new.md index a16ab46..507c59d 100644 --- a/ea-scripts/index-new.md +++ b/ea-scripts/index-new.md @@ -265,7 +265,7 @@ https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/master/ea ```excalidraw-script-install https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/master/ea-scripts/Mindmap%20format.md ``` -
Author@pandoralink
SourceFile on GitHub
DescriptionAutomatically formats a mindmap from left to right based on the creation sequence of arrows.
+
Author@pandoralink
SourceFile on GitHub
DescriptionAutomatically formats a mindmap from left to right based on the creation sequence of arrows.

A mindmap is actually a tree, so you must have a root node. The script will determine the leftmost element of the selected element as the root element (the node must be a rectangle, diamond, ellipse, text, image, but it can't be an arrow, line, freedraw, or group)
The element connecting node and node must be an arrow and have the correct direction, e.g. parent node -> child node.
The order of nodes in the Y axis or vertical direction is determined by the creation time of the arrow connecting it.

If you want to readjust the order, you can delete arrows and reconnect them.
The script provides options to adjust the style of the mindmap. Options are at the bottom of excalidraw plugin options (Settings -> Community plugins -> Excalidraw -> drag to bottom).
Since the start bingding and end bingding of the arrows are easily disconnected from the node, if there are unformatted parts, please check the connection and use the script to reformat.
## Modify background color opacity ```excalidraw-script-install