BehaviourComposer: ignore everything before this.
Begin description: Add directed links to a set of agents. End description
Add links to others
Begin NetLogo code:
substitute-text-area-for other-agents all-others create-links-to other-agents
End NetLogo code
You can specify the other agents by editing the text area. For example all-others with [my-age > 21] will select all other agents whose attribute my-age is greater than 21.
This uses the NetLogo create-links-to primitive with each agent in the set.
Adds an undirected link with another, Adds a directed link from another, Adds a directed link to another, and Add undirected links with a set of agents.
Add links to others was implemented by Ken Kahn.
BehaviourComposer: ignore everything after this.