The Omni Group Forums

The Omni Group Forums (
-   OmniGraffle General (
-   -   Script: Generate radial diagrams from outlines (

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]

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).



Bemused 2012-09-03 07:30 AM

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=""]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=""]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).


All times are GMT -8. The time now is 01:37 PM.

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