zsviczian / excalibrain

A graph view to navigate your Obsidian vault
MIT License
706 stars 20 forks source link

[FR]Edge text follows edges when editing #73

Open kazdonkai opened 2 years ago

kazdonkai commented 2 years ago

When Excalibrain is edited with Excalidraw (1) Edge labels do not follow the movement of edges, resulting in distance. (2) When I finish editing and return to Excalibrain, the menu in the upper left corner is not displayed.

By the way, I would like you to separate the distance between nodes, because sometimes nodes overlap with each other, as in the first part of the video.

https://user-images.githubusercontent.com/90127278/179386456-1613c96e-31c2-48a3-bb5c-682aa3f1fb58.mov

zsviczian commented 2 years ago

Unfortunately excalidraw does not support text on lines yet. My solution is a bit of a workaround. I simply calculate the location and angle of the text separately from the line.

Are you using the edit Icon to edit the graph? The edit icon creates a copy of the excalibrain page and opens it in a new pane. You need to use the original excalibrain page to navigate.

In terms of the lines one on top of each other I’m planning to add options to allow an even number of items in a row (e.g. 3,4,6, currently only supporting 1,3,5 elements). Having even number of children per row should help reduce the risk of overlap.

kazdonkai commented 1 year ago

I still edit the Excalibrain snapshot and when I move a node, the edge labels and link ○ are left behind and do not follow the node.

スクリーンショット 2023-09-04 16 34 14
kazdonkai commented 1 month ago

Excalidraw is already able to display edge labels.
 So, please change the edge text to a label system in Excalibrain.

スクリーンショット 2024-10-14 10 24 18