google / depan

DepAn is a direct manipulation tool for visualization, analysis, and refactoring of dependencies in large applications.
http://google.github.io/depan
Apache License 2.0
89 stars 20 forks source link

Provide good user controled ViewOptions anytime a new ViewModel is created. #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Anytime a new ViewModel is created (GraphEditor, SelectionTool, etc.), the
user should be able to define an autocollapse relation set to use before
the ViewModel is displayed.

Ideally, the workspace should also support a workspace defined autocollapse
relation to use for any new ViewModel.  This can be empty.  The different
ViewModel generator interface should allow the user to select an alternative.

Original issue reported on code.google.com by le...@google.com on 20 Aug 2008 at 7:55

GoogleCodeExporter commented 9 years ago
We really want a widely accessible means to control the initial presentation of 
a new
ViewModel.  At a minimum, it should integrate the capabilities from the 
GraphEditor
and the SelectionTool.

I think the following mechanism would work well:

  * A <View Options...> button that allows the user to set many presentation options
for new views.
  * A <Create View> button that uses the selected nodes to synthesize the new view
with the current ViewOptions.

This would replace the existing <Layout to use> drop-down in the GraphEditor, 
the
<Apply layout> drop-down in the SelectionTool.

For the ViewOptions dialog, the user should be able to set:
  * Layout to use, including layout options (e.g. relset for layout, etc.)
  * Autocollapse to use (sequence of autocollapse steps?)
  * Relations to display (ala RelationPicker)
  * Default relation set for NodeEditor

For SelectionTool, the ViewOptions for Create new view should be initialized 
with the
current ViewOptions for the active ViewEditor.  For the GraphEditor, ViewOptions
should probably be initialized from user preferences.

This feature will also need full User Preferences support.  Additional 
preference
options should include "implied" values.  E.g., the ViewEditor's New ViewOptions
preferences would normally be set as "infer from View" rather then an explicit 
set of
values.

Original comment by le...@google.com on 12 Sep 2008 at 6:38

GoogleCodeExporter commented 9 years ago
ViewEditor and ViewDocument now capture many of the user preferences for view.  
There are a few gaps (visible relation types), but the framework for this is in 
place.

Specific omissions should be tracked as new bugs.

Original comment by le...@pnambic.com on 18 Jan 2014 at 12:16