The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Script: Generate radial diagrams from outlines (http://forums.omnigroup.com/showthread.php?t=25310)

RobTrew 2012-08-30 08:06 AM

Script: Generate radial diagrams from outlines
 
4 Attachment(s)
An early draft of a script for generating radial diagrams (nested structures of block arcs, or simple pie diagrams) from outlines in OO3.
[LIST=1][*]Check that OmniGraffle is running[*]Open an outline in OO3[*]Click outside the outline to [B]deselect all rows[/B][*]Run this script[/LIST][LIST][*]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.[/LIST]
[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2523&stc=1&d=1346342362[/IMG]
[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2524&stc=1&d=1346342602[/IMG]

RobTrew 2012-08-30 11:30 PM

1 Attachment(s)
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).

[COLOR="White"]--[/COLOR]

[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2527&stc=1&d=1346398369[/IMG]

Bemused 2012-09-03 07:30 AM

Genius!
Bravo sir, bravo

Very *very* useful

RobTrew 2012-09-03 11:26 AM

1 Attachment(s)
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 ([URL="http://en.wikipedia.org/wiki/Pie_chart#Spie_chart"]SPIE charts[/URL] 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 [URL="http://en.wikipedia.org/wiki/File:Nightingale-mortality.jpg"]Florence Nightingale distortion[/URL], 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).

[IMG]http://forums.omnigroup.com/attachment.php?attachmentid=2530&stc=1&d=1346701102[/IMG]


All times are GMT -8. The time now is 02:43 AM.

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