From e192da86687610bdd6a0ede49e0c80cefa9ffe93 Mon Sep 17 00:00:00 2001 From: zsviczian Date: Wed, 5 May 2021 20:53:24 +0200 Subject: [PATCH 1/3] Update AutomateHowTo.md --- AutomateHowTo.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutomateHowTo.md b/AutomateHowTo.md index 0e0b753..554c10a 100644 --- a/AutomateHowTo.md +++ b/AutomateHowTo.md @@ -414,13 +414,13 @@ offsets = [0]; for(i=0;i<=linecount;i++) { depth = tree[i][IDX.depth]; if (depth == 1) ea.style.strokeColor = '#'+(Math.random()*0xFFFFFF<<0).toString(16); - tree[i][IDX.objectId] = ea.addText(depth*width,((tree[i][IDX.size]/2)+offsets[depth])*height,tree[i][IDX.text],{startArrowHead: 'dot',box:true}); + tree[i][IDX.objectId] = ea.addText(depth*width,((tree[i][IDX.size]/2)+offsets[depth])*height,tree[i][IDX.text],{box:true}); //set child offset equal to parent offset if((depth+1)>offsets.length) offsets.push(offsets[depth]); else offsets[depth+1] = offsets[depth]; offsets[depth] += tree[i][IDX.size]; if(tree[i][IDX.parent]!=-1) { - ea.connectObjects(tree[tree[i][IDX.parent]][IDX.objectId],"right",tree[i][IDX.objectId],"left",); + ea.connectObjects(tree[tree[i][IDX.parent]][IDX.objectId],"right",tree[i][IDX.objectId],"left",{startArrowHead: 'dot'}); } } From 0d361340c14568df9f5ead62439296e55854d3dc Mon Sep 17 00:00:00 2001 From: zsviczian Date: Wed, 5 May 2021 20:54:00 +0200 Subject: [PATCH 2/3] Update AutomateHowTo.md --- AutomateHowTo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutomateHowTo.md b/AutomateHowTo.md index 554c10a..e5f21e1 100644 --- a/AutomateHowTo.md +++ b/AutomateHowTo.md @@ -337,7 +337,7 @@ This example is similar to the first one, but rotated 90°, and using a template ### Generating a simple mindmap from a text outline This is a slightly more elaborate example. This will generate an a mindmap from a tabulated outline. -![Drawing 2021-05-05 20 14 04](https://user-images.githubusercontent.com/14358394/117189615-afe07580-adde-11eb-81da-fa4bd84d4970.png) +![Drawing 2021-05-05 20 52 34](https://user-images.githubusercontent.com/14358394/117194124-00a69d00-ade4-11eb-8b75-5e18a9cbc3cd.png) Example input: ``` From 793302a1f5cae072a8d4afc455ca792aa57432ef Mon Sep 17 00:00:00 2001 From: zsviczian Date: Wed, 5 May 2021 22:28:33 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46b3aba..9f2e2cd 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ div.excalidraw-svg-left { ## Known issues -- On mobile (iOS and Android): As you draw left to right it opens left sidebar. Draw right to left, opens right sidebar. Draw down, opens commands palette. So seems open is emulating the gestures, even when drawing towards the center. I understand that the issue will be resolved in the next release of Obsidian mobile. +- On mobile (iOS and Android): As you draw left to right it opens left sidebar. Draw right to left, opens right sidebar. Draw down, opens commands palette. So seems open is emulating the gestures, even when drawing towards the center. Obsidian mobile 0.18 has resolved this issue. - I have seen two cases when adding a stencil library did not work. In both cases, the end solution was a reinstall of Obsidian. The root cause is not clear, but maybe because of the incremental updates of Obsidian from an early version. - Sync does not support .excalidraw files. This issue will be addressed in a later release of Obsidian sync. Until then, here are two hacks you can play with: - You have the option to use OneDrive, Google Drive, iCloud, DropBox, etc. to sync your vault between devices.