The Omni Group

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

Reply
Script: Generate radial diagrams from outlines Thread Tools Search this Thread Display Modes
An early draft of a script for generating radial diagrams (nested structures of block arcs, or simple pie diagrams) from outlines in OO3.
  1. Check that OmniGraffle is running
  2. Open an outline in OO3
  3. Click outside the outline to deselect all rows
  4. Run this script
  • Selecting a row limits the diagram to that row and its sub-tree.
  • Collapsing rows will allow for the generation of less detailed diagrams.
  • Numeric columns can optionally be used to proportion the width of arcs.


Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-08-30 at 16.30.53.png
Views:	78
Size:	27.2 KB
ID:	2521   Click image for larger version

Name:	Screen Shot 2012-08-30 at 16.25.50.png
Views:	718
Size:	59.9 KB
ID:	2523   Click image for larger version

Name:	Screen Shot 2012-08-30 at 16.24.09.png
Views:	942
Size:	61.7 KB
ID:	2524  
Attached Files
File Type: zip RadialDiagm-023.scpt.zip (89.1 KB, 51 views)

Last edited by RobTrew; 2012-08-30 at 11:25 PM.. Reason: Ver 0.023 adds numeric user data to shapes
  Reply With Quote
Update: Ver 0.23 (above) now tags arcs with numeric data (including percentages of immediate group and of total), and with any notes from the outline.

(Hover a cursor over a particular shape to see any numbers and notes).

--

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-08-31 at 08.31.49.png
Views:	315
Size:	32.7 KB
ID:	2527  
  Reply With Quote
Genius!
Bravo sir, bravo

Very *very* useful
  Reply With Quote
Good ! I'm glad you find it useful.

I need to add some error-checking at some point (For example to report any gaps in a numeric column, and forestall any division by zero).

May also add options for processing additional columns of figures (SPIE charts etc), and for choosing between evenly spaced generations and generational radii which grow with the square root of the generation number – to prevent the surface area from growing with the square of the generation.
(Avoiding the classic Florence Nightingale distortion, in other words :-)

(Below, for example, the radii are in the ratio of 1:Sqrt(2) so that the surface areas of sibling ranges sum to the surface area of their parent).

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-09-03 at 20.37.14.png
Views:	228
Size:	66.5 KB
ID:	2530  

Last edited by RobTrew; 2012-09-04 at 12:00 PM..
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script: Copy selected rows as tab-indented (Markdown) plain text outlines RobTrew OmniOutliner 3 for Mac 2 2012-11-29 02:19 AM
Radial anchoring? baliset OmniGraffle General 4 2012-06-13 06:33 AM
Script: Tree Tool - quick formatting and layout of OG hierarchy diagrams RobTrew OmniGraffle General 16 2012-06-07 12:48 AM
Automator or script to keep outlines synced? rogbar OmniOutliner for iPad 1 2011-10-27 09:16 PM
Radial Layout? khilburn OmniGraffle General 4 2008-07-03 03:16 AM


All times are GMT -8. The time now is 09:24 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.