Converting a label to multiple line text

1 view
Skip to first unread message

Pradeesh Kumar K V

unread,
Jun 24, 2021, 5:17:55 AM6/24/21
to netlogo-users
Hi all,

I am working on a network model where I have arranged turtles in a circular layout. Most of my turtle labels have long texts (e.g. "Measures to Improve Productivity") and that causes some of these labels to overlap rendering it unreadable.

Is there any way to break down a single label into multiple lines? (see an example below):

"Measures to
Improve Productivity"

Thanks,

Pradeesh

Aaron Andre Brandes

unread,
Jun 28, 2021, 6:29:24 PM6/28/21
to Pradeesh Kumar K V, netlogo-users

Hi Pradeesh,

Multiline labels are not supported in NetLogo.

You can do creative things by attaching labels to turtles which are tied to your turtle, as illustrated in the model Label Position Example

 

 

First open the Models Library by using the menu Files => Models Library, or the shortcut Cmd-M on MacOS, Ctrl-M on other systems.

 

Then type label (it will appear in the search bar in the lower left of the window).

Then double click on the item Label Position Example which appears under Code Examples => Label Position Example

The model should open.

 

Aaron

-- 

Aaron Brandes, Software Developer

Center for Connected Learning and Computer-Based Modeling

--
You received this message because you are subscribed to the Google Groups "netlogo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-users/CANOZKcii0x4tUxNA0eQArko88mV6ee8ywKEspDpmv1p5CdzS_w%40mail.gmail.com.

Pradeesh Kumar K V

unread,
Jun 29, 2021, 11:55:11 AM6/29/21
to Aaron Andre Brandes, netlogo-users
Thank you for the tip Aaron. I will try it out.

Best,

Pradeesh
Reply all
Reply to author
Forward
0 new messages