Re: Getting number of edges directed to / directed from a node

Wim Lewis <[email protected]>
Newsgroups gmane.comp.graphics.omnigraffle.user
Message-ID <[email protected]>
On Nov 5, 2008, at 12:10 AM, Nikita Zhuk wrote:
> I have a complex directed graph which includes several hundreds  
> nodes and couple thousand edges. Is it possible to see (without  
> visually counting the edges), for each node, how many edges are:
> a) directed to that node and
> b) directed from that node.

This can be done in AppleScript using the "incoming lines" and  
"outgoing lines" relationships on the shape. I'm not sure what the  
best way to display the information would be; probably the easiest  
thing is to build up a string containing the information and set that  
string as some shape's text.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.