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

Add link to

BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description:
Add a directed link to another.
End description

Add link to

Begin NetLogo code:
substitute-text-area-for other-end-of-link any-of-kind "Prototype1"               
create-link-to 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-to primitive.

Related micro-behaviours

History

Add link to was implemented by Ken Kahn.

BehaviourComposer: ignore everything after this.
Comments