Node color and size change in NS3

1,032 views
Skip to first unread message

Navid Bin Anwar

unread,
Apr 10, 2016, 3:06:37 PM4/10/16
to ns-3-users
Dear all, I need to build a topology with sensor nodes, where i want to mark some nodes with different color and size visible in NetAnim. Can anybody please guide me with codes, as i am quite new in NS3.

looking forward for kind response.  

Konstantinos

unread,
Apr 10, 2016, 3:47:00 PM4/10/16
to ns-3-users
Hi Navid,

Changing the node properties is explained in the Wiki page for NetAnim here
https://www.nsnam.org/wiki/NetAnim_3.107#Setting_and_viewing_node_properties

There is also an example in src/netanim/examples that shows how you can change the color of different nodes.

Regards,
K

Mohammad Afrashteh

unread,
Sep 14, 2017, 5:10:29 PM9/14/17
to ns-3-users
Hi Konstantinos,

How is it possible to change the node color when it acts as a forwarder in the multi-hop broadcasting? Thanks.
Reply all
Reply to author
Forward
0 new messages