I need to create a view with three swimlanes (Left, Middle, Right) such that Left and Right occupy a fixed width that is proportional to the width of the view and Middle occupies all of the remaining width. The Left and Right swimlanes layout their child objects vertically (with vertical scroll bars appearing if needed) and the Middle swimlane uses a custom force layout (with horizontal and vertical scroll bars appearing if needed).
First question: win or web?
Windows. We also plan to implement a SilverLight version.
If you’re planning a Silverlight version, it’s probably easier to do the Windows version with GoXam / WPF.
Or even Silverlight Out of Browser, and just do it once.
But… with the Swimlanes class in NodeLinkDemo… You can set the Lanes.Orientation to Horizontal to get lanes across instead of up and down. You can set the sizes of the Background of each SwimLane to change the sizes.
There isn’t a way (that we have a sample of) to do scrolling of individual lanes within the pool. That’s probably easier under GoXam.
The problem isn’t really sizing the swimlanes - it seems incorrect to treat an object that is part of the document as though it were a view. The problem would seem to get worse as the user scrolls around in the document, etc.
We don’t support scrolling of multiple panes (or lanes) within a view. We have a couple of scrolling node classes, but that’s at a different level.
If you want to connect links across panes, objects have to be a part of the same Document/View pair. (you couldn’t slap a separate GoView down on top of another one and connect things between them.)
ok… we talked about this a bit here. Here’s a scheme.
- using 3 separate Subgraphs (and you might use SwimLane)
- turn off GoView Scrollbars.
- put 2 scrollbars outside the GoView (one on each side) and connect the “Scrolling” action to moving the location of the associated SwimLane.