The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Collapsing and expanding simple trees in OmniGraffle Thread Tools Search this Thread Display Modes


Is there a better way to show simple trees at varying levels of collapse and expansion ?

Subgraphs seem unsuitable - turning a sub-tree into a subgraph changes its position in the sibling sequence used by automatic layout. Also subgraph labels seem to remain visible regardless of collapse state.

Placing successive generations/levels of the tree on different layers (and toggling the visibility of these layers) seems better but a little complex ...

[links between shapes are hidden intelligently, and auto-layout adapts quite gracefully, but time (or Applescript automation) seems to be required to set up all the layers.]

Is there something simpler that I am missing ?

--

Last edited by RobTrew; 2011-06-07 at 03:21 AM..
 
OK, at the scripting level, simply moving particular levels, sets of levels, or sub-trees in and out of a single special 'hidden' layer, and then re-triggering automatic layout, seems to work OK.

But it would be good to have something built into the GUI, to prevent me from reaching for my old copy of Inspiration, which is still quicker than OG for typing an outline swiftly, switching back and forth between an outline view and a graphic view, and hoisting or collapsing particular subtrees, or collapsing to particular levels.

All of which is where I happen to spend quite a lot of the day :-)
 
Hello! I just downloaded omnigraffle, and I'm curious how you achieved the retrigger of auto-layout in your script, as what you describe is exactly what I want. If you could share your script with me I would be very grateful. THanks so much!
 
The OG applescript library contains a layout command, and shapes have a layer property.

(I don't have a general body of code that I can share for this, unfortunately).
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Better outlines than 003, better trees than OG5 ... RobTrew OmniOutliner 3 for Mac 2 2012-07-07 12:26 AM
Script: clearer layout for orthogonal trees RobTrew OmniGraffle General 3 2011-10-31 01:10 PM
Expanding the canvas KlassicJazz OmniGraffle General 1 2011-02-05 01:29 PM
Automatic Expanding/collapsing of notes not possible pumpkinwhite OmniFocus 1 for Mac 2 2008-01-07 06:58 PM
Trouble with scripts that require selected trees of content akelley OmniFocus Extras 7 2007-12-13 02:40 AM


All times are GMT -8. The time now is 05:27 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.