Diagram canvas on top of diagram canvas? [message #1711181] |
Tue, 13 October 2015 21:24 |
Rafal Filipiuk Messages: 14 Registered: September 2015 |
Junior Member |
|
|
Hi,
I'm thinking of a feature where users would be able to create a box that represents a blank canvas. The need for this stems from the fact that I need to model "scope" in some way or another, and scopes can be nested.
For example, my business resource might look like the following:
{
val X = "123";
val Y = "456;
}
That would resolve to a diagram with 2 boxes 'X' and 'Y'. Now if I have the following:
{
val X = "123";
{
val y = "456";
}
}
The above should be represented as a diagram with box 'X', and another unlabeled box with its own canvas that contains box 'Y'. Using the same graphical editor, the user would be able to populate both canvas's depending on current context.
In practice, levels of nesting could go 3-4 levels deep. From a UX perspective, obviously these canvas's would have some scaling issues, but should be relatively useable when resized.
Is what I'm thinking at all possible? I was looking into drill-down behavior, but I'm not a fan of popups and if I understand correctly, drill-down behavior opens a separate instance of a diagram governed by a diagram editor. I also feel like I've seen this type of use case in GEF, but I haven't done enough research in this space.
Any ideas for what direction I could take would be much appreciated. Thank you!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02875 seconds