--- 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
--- 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
--- 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.");
--- 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\