You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! First of all, thank you for your amazing job with Nodify! Wanted to ask what is the best possible way of limiting panning to actual contents of the editor? I am building an application that suggests placing nodes in ordered columns with user having an option to add more columns and further add nodes in these new columns. Therefore from the start user workspace will be limited to visible screen area and zooming is disabled by design for the whole app. It would be great to be able to have horizontal and vertical scrollbars so that user would interact with the working area in the canvas-style way (horizontal and vertical scroll with scrolling stopping when we reach the end of canvas). Canvas can expand when user adds sufficient number of nodes in a column (vertical expansion) or columns (horizontal expansion).
The text was updated successfully, but these errors were encountered:
Hi @faguetan , one way to limit the panning to the actual contents of the editor is to bind to the ItemsExtent and limit the ViewportLocation based on it. For scrollbars, I suggest that you extend the NodifyEditor class and implement IScrollInfo, then wrap the instance in a ScrollViewer. I assume you want to build a Kanban board or something similar, and I don't believe Nodify is a good choice for this. There are a few open source projects and some paid libraries that can do exactly what you want.
Hi @faguetan , one way to limit the panning to the actual contents of the editor is to bind to the ItemsExtent and limit the ViewportLocation based on it. For scrollbars, I suggest that you extend the NodifyEditor class and implement IScrollInfo, then wrap the instance in a ScrollViewer. I assume you want to build a Kanban board or something similar, and I don't believe Nodify is a good choice for this. There are a few open source projects and some paid libraries that can do exactly what you want.
Dear @miroiu , thank you so much for the tip! I will try this approach. Actually, it is not a Kanban I am building but rather an app that allows to create chains for certain business processes. Therefore Nodify is a 100% hit for this task. I hope to be able to demonstrate it at some point.
Hello! First of all, thank you for your amazing job with Nodify! Wanted to ask what is the best possible way of limiting panning to actual contents of the editor? I am building an application that suggests placing nodes in ordered columns with user having an option to add more columns and further add nodes in these new columns. Therefore from the start user workspace will be limited to visible screen area and zooming is disabled by design for the whole app. It would be great to be able to have horizontal and vertical scrollbars so that user would interact with the working area in the canvas-style way (horizontal and vertical scroll with scrolling stopping when we reach the end of canvas). Canvas can expand when user adds sufficient number of nodes in a column (vertical expansion) or columns (horizontal expansion).
The text was updated successfully, but these errors were encountered: