lifeisforu / NodeGraph

WPF control librarty for node graph.
MIT License
108 stars 24 forks source link

Mouse selection cannot select entire screen #2

Open CallumCarmicheal opened 4 years ago

CallumCarmicheal commented 4 years ago

While porting the NodeGraph to AvalonDock, I had to rewrite the framework to use instance references to NodeGraphManager instead of static references everywhere. This will allow for multiple instances of the node editor without having to make a new UserControl for each instance.

While developing this I had noticed that you cannot select the entire width and height of the window, I've not been able to manage to find the code that restricts the highlight area to the the visible.

If anyone can help me figure out this, thanks.

Links: Fork OOP version of NodeGraph: https://github.com/CallumCarmicheal/NodeGraph AvalonDock test app: https://github.com/CallumCarmicheal/NodeGraphTestApplication

lifeisforu commented 3 years ago

Sorry, I'm too late checking this issue.

I'll check it later. Sorry, for now I'm so busy...

Thank you for your attention and efforts.

antithing commented 2 years ago

Hi @CallumCarmicheal @lifeisforu .

I am having the same issue, and actually it also exists in the sample calculator project. It is impossible to drag a node all the way to the edge of the screen, there is a restriction rectangle that I cannot find. Does anyone have the answer to this?

Also, thank you very much for this code!