-
-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draw line between nodes. #68
Comments
http://romiz.altervista.org/custom/images/romiz_conversion_mind.jpg |
In https://github.com/hotpeperoncino/my-mind, I can specify two nodes with arrowlink attributes. |
Hi @hotpeperoncino,
I would start with the Unfortunately, there is no suitable |
Thank you for your information. |
I'm thinking of creating a fullscreen canvas in the background where arrow links from all the node canvases would be drawn. I'm going to have to be able to access the absolute positions for each related nodes though to begin with and I'm not sure how to do that. PS I'm new to canvas coding and my-mind itself. |
Turns out the nodes themselves are not canvas based, as I had imagined, so their positions can be obtained directly from the DOM. Now I'm trying to figure out how to draw a line(preferably curved & arrowed) between two points on main canvas from the existing api. Any ideas anyone on the functions available for that? |
Curved lines are ideally drawn via the Arrows are typically implemented as small triangles; these are trivially done using a filled (polygonal) path. |
I want to draw lines between two nodes randomly in order to represent meaningful relation.
Can I have an idea where to be modified in the source?
The text was updated successfully, but these errors were encountered: