Libraries‎ > ‎Library‎ > ‎Linking‎ > ‎

Add undirected link

BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description:
Add an undirected link with another.
End description

Add undirected link

Begin NetLogo code:
substitute-text-area-for other-end-of-link any-of-kind "Prototype1"               
create-link-with other-end-of-link
End NetLogo code

Variants

You can specify the other end of the link by editing the text area.

How this works

This uses the NetLogo create-link-with primitive.

Related micro-behaviours

History

Add undirected link was implemented by Ken Kahn.

BehaviourComposer: ignore everything after this.
Comments