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

 
Best way to add multiple color (swatches) to a shape? Thread Tools Search this Thread Display Modes
I have a set of shapes on a canvas. Each shape has 0 or more 'tags' that I need to visualize on the shape, each tag with a color. The attached file shows an example, but the exact visualization is not important.

What would be a good way to accomplish something like this? It seems an individual shape can only have a single color.

Thanks!
Attached Thumbnails
Click image for larger version

Name:	skitched-20121118-093654.jpg
Views:	739
Size:	14.3 KB
ID:	2649  
 
Perhaps a group of shapes in which the central node carries the tags, on the basis of which the satellites are generated.

It might simplify scripting and reference to create (invisible) links from the nucleus to the subsidiary organelles, to give them parent-child relationships.

But of course, make sure you switch off Auto-layout. Frequently :-)
 
In Applescript, that would be something like:
Code:
tell oLayer 
	set oLink to connect oNucleus to oTagShape with properties { … }
end tell
You can make a line invisible by giving it zero width.

You can then use an idiom like

Code:
set {lstOrigin, lstID} to {origin, id} of (destination of outgoing lines of oParent)
to get a list of the ids and positions of the subsidiary tag shapes

--
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript: set multiple shape properties in 1 call? Sophie OmniGraffle General 5 2012-11-18 06:30 AM
Background color for shape label? xover OmniGraffle General 0 2010-01-11 01:55 AM
Uniform color across multiple diagrams Randy OmniGraffle General 1 2008-11-18 12:35 AM
multiple phones, multiple people in same household? aimee OmniFocus for iPhone 6 2008-10-25 04:39 PM
Task color doesn't match the group's color mr_projects OmniPlan General 1 2007-11-02 11:34 AM


All times are GMT -8. The time now is 10:04 AM.


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