# HG changeset patch # User John Abraham # Date 1313599926 14400 # Node ID 32635b529440c17bae6e17357affa30e900ae5ac # Parent 7fbcc8eb86795532e034569e4237cd9f5fe9008e NetAnim minor comments diff -r 7fbcc8eb8679 -r 32635b529440 src/netanim/examples/dumbbell-animation.cc --- a/src/netanim/examples/dumbbell-animation.cc Wed Aug 17 12:31:34 2011 -0400 +++ b/src/netanim/examples/dumbbell-animation.cc Wed Aug 17 12:52:06 2011 -0400 @@ -106,6 +106,9 @@ { anim.SetOutputFile (animFile); } + + // Uncomment the below statement to generate Animation trace in XML + // anim.SetXMLOutput (); anim.StartAnimation (); // Set up the acutal simulation diff -r 7fbcc8eb8679 -r 32635b529440 src/netanim/examples/grid-animation.cc --- a/src/netanim/examples/grid-animation.cc Wed Aug 17 12:31:34 2011 -0400 +++ b/src/netanim/examples/grid-animation.cc Wed Aug 17 12:52:06 2011 -0400 @@ -94,6 +94,8 @@ { anim.SetOutputFile (animFile); } + // Uncomment the below statement to generate Animation trace in XML + // anim.SetXMLOutput (); anim.StartAnimation (); // Set up the actual simulation diff -r 7fbcc8eb8679 -r 32635b529440 src/netanim/examples/star-animation.cc --- a/src/netanim/examples/star-animation.cc Wed Aug 17 12:31:34 2011 -0400 +++ b/src/netanim/examples/star-animation.cc Wed Aug 17 12:52:06 2011 -0400 @@ -126,6 +126,8 @@ { anim.SetOutputFile (animFile); } + // Uncomment the below statement to generate Animation trace in XML + // anim.SetXMLOutput (); anim.StartAnimation (); NS_LOG_INFO ("Run Simulation."); diff -r 7fbcc8eb8679 -r 32635b529440 src/netanim/model/animation-interface.cc --- a/src/netanim/model/animation-interface.cc Wed Aug 17 12:31:34 2011 -0400 +++ b/src/netanim/model/animation-interface.cc Wed Aug 17 12:52:06 2011 -0400 @@ -695,6 +695,11 @@ * id = Node Id\n\ * locX = X coordinate\n\ * locY = Y coordinate\n\ + link\n\ + * fromLp = From logical processor Id\n\ + * fromId = From Node Id\n\ + * toLp = To logical processor Id\n\ + * toId = To Node Id\n\ packet\n\ * fromLp = From logical processor Id\n\ * fbTx = First bit transmit time\n\