-
Notifications
You must be signed in to change notification settings - Fork 2
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
Online demo #1
Comments
Yes, that would be really nice and i also have this on my wish list. Unfortunately, i didn't have time for it, so far 😞 ... maybe later, this year. |
I may give it a try later. If it's successful, I'll make a pull request. |
Sure, thanks for working on it! |
I think it's somehow hard to create a pull request because I rewrite history. By the way, there's a very simple online demo based on example available at https://hadisfr.github.io/flowdesigner now. |
Mmmm ... that's strange, the example on your page seems to have some issues i thought i already resolved in the past, like the issue with the too short line when wiring up the nodes (the end of the red line is not below the mouse-pointer) and the issue where sometimes the node is dragged when you click the output bullet for drawing a wire. Strange ... |
I didn't encountered the second one, but I have some guesses. 🤔 The first one occurs on the example, too. It was seemed worse on my gh page because I added a |
Ah, so it was the max-width setting, that caused the issues - yes the second issue is gone now, too. But i see what you mean with the ending connector. This is probably a bug in the code and should be fixed. |
Yes, i think it shouldn't be that hard to fix. I'll have a look at it at the weekend. |
It's something related to Lines 29 to 49 in 1c9da16
There is a small space between the pointer and the end of the path, too. I don't get what this function is expected to do actually, (creating this space?) but it seems there's no need to this function in |
Good question. I think i had an issue with event handling, when the end of the line was right below the mouse cursor and therefore added the gap, yes, calcLine is used to add the gap - i should have documented this. I will do some tests on this at the weekend. |
What do you think about adding an online demo based on the provided example using the github-pages? 🤔
The text was updated successfully, but these errors were encountered: