Tinderbox Forum

Identifying the outgoing links of a given node?


(RobTrew) #1

Any advice on identifying the outgoing links of a given node ?

In the absence of direct access to map links through the osascript (Apple|JavaScript) API, presumably the trick is to

  • script the definition of a temporary agent in terms of links() and
  • read the list of children which it harvests ?

(eastgate) #2

That would work. If there’s need, we could support read-only properties of notes — perhaps something like

set a to outbound destinations
set b to inbound sources


(RobTrew) #3

That would be excellent – direct access of that kind (from the osascript API) to the graph formed by a set of links would be very helpful for some of the data translations (and map view geometric shortcuts) that I would like to script.