Label Position Example
Model was written in NetLogo 5.0.4
•
Viewed 1140 times
•
Downloaded 86 times
•
Run 0 times
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
Comments and Questions
Please start the discussion about this model!
(You'll first need to log in.)
Click to Run Model
breed [circles circle] breed [banners banner] to setup clear-all set-default-shape circles "circle" create-circles 20 [ setxy random-xcor random-ycor set size 2 + random 5 attach-banner who ] reset-ticks end to attach-banner [x] ;; circle procedure hatch-banners 1 [ set size 0 set label x create-link-from myself [ tie hide-link ] ] end to reposition ;; banner procedure move-to one-of in-link-neighbors set heading banner-angle fd banner-distance end to go ask circles [ fd 0.01 ] ask banners [ reposition ] tick end ; Public Domain: ; To the extent possible under law, Uri Wilensky has waived all ; copyright and related or neighboring rights to this model.
There are 4 versions of this model.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Label Position Example.png | preview | Preview for 'Label Position Example' | over 11 years ago, by Uri Wilensky | Download |
This model does not have any ancestors.
This model does not have any descendants.