📄 node557.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>40.3 User Interface</TITLE><META NAME="description" CONTENT="40.3 User Interface"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node558.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node558.html"><LINK REL="previous" HREF="node556.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node556.html"><LINK REL="up" HREF="node554.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node554.html"><LINK REL="next" HREF="node558.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node558.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html9986" HREF="node558.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node558.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html9980" HREF="node554.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node554.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html9974" HREF="node556.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node556.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html9982" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html9984" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html9987" HREF="node558.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node558.html">40.4 Keyboard Commands</A><B> Up:</B> <A NAME="tex2html9981" HREF="node554.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node554.html">40. Nam</A><B> Previous:</B> <A NAME="tex2html9975" HREF="node556.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node556.html">40.2 Nam Command Line</A>   <B> <A NAME="tex2html9983" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html9985" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION010130000000000000000"></A><A NAME="sec:userinterface"></A><BR>40.3 User Interface</H1><P>Starting up nam will first create the nam console window. You can have multiple animations running under the same nam instance. At the top of all nam windows is a menu bar. For the nam console there are 'File' and 'Help' menus. Under the 'File' there is a 'New' command for creating a ns topology using the nam editor (under construction) , an 'Open' command which allows you to open existing tracefiles, a 'WinList' command that popup a window will the names of all currently opened tracefiles, and a 'Quit' command which exits nam. The 'Help' menu contains a very limited popup help screen and a command to show version and copyright information. <P>Once a tracefile has been loaded into nam (either by using the 'Open' menu command or by specifying the tracefile on the command line) an animation window will appear. It has a 'Save layout' command which will save the current network layout to a file and a 'Print' command which will print the current network layout.<P>The 'Views' menu has 4 buttons:<UL><LI>New view button: Creates a new view of the same animation. User can scroll and zoom on the newview. All views will be animated synchronously.</LI><LI>Show monitors checkbox: If checked, will show a pane at the lower half of window, where moni-tors will be displayed.</LI><LI>Show autolayout checkbox: If checked, will show a pane at the lower half of window, which con-tains input boxes and a button for automatic layout adjustments. This box will not be enabled when using link orientain layouts.</LI><LI>Show annotation checkbox: If checked, will show a listbox at the lower half of window, which will be used to list annotations in the ascending order of time.</LI></UL><P>Below the menu bar, there is a control bar containing 6 buttons, a label, and a small scrollbar(scale). They can be clicked in any order. We will explain them from left to right.<P><UL><LI>Button 1 («) - Rewind. When clicked, animation time will go back at the rate of 25 times the current screen update rate.</LI><LI>Button 2 (<) - Backward play. When clicked, animation will be played backward with time decreasing.</LI><LI>Button 3 (square) - Stop. When clicked, animation will pause.</LI><LI>Button 4 (>) - Forward play. When clicked, animation will be played forward with time increasing.</LI><LI>Button 5 (») - Fast Forward. When clicked, animation time will go forward at the rate of 25 times the current screen update rate.</LI><LI>Button 6 (Chevron logo) - Close current animation window.</LI></UL><P>Time label - Show the current animation time (i.e., simulation time as in the trace file). Rate Slider - Controls the screen update rate (animation granularity). The current rate is displayed in the label above the slider.<P>Below the first control bar, there is Main Display, which contains a tool bar and a main view pane with two panning scroll bars. All new views created by menu command 'Views/New view' will have these three components. The tool bar contains two zoom buttons. The button with an up arrow zooms in, the button with a down arrrow zooms out. The two scroll bars are used to pan the main animation view. <P>Clicking the left button on any of the objects in the main view pane will pop up a information window. For packet and agent objects, there is a 'monitor' button in the popup window. Clicking that button will bring out the monitor pane (if it is not already there), and add a monitor to the object. For link objects, there will be a 'Graph' button. Clicking on that button will bring up another popup window, where users can select between drawing a bandwidth utilization graph or drawing a link loss graph of one simplex edge of the duplex link.<P>Below the user interface objects we have discussed so far, there may or may not be a Monitor pane, depending on whether the checkbox 'Views/Show monitors' is set. (The default is unset). All monitors will be shown in this pane. A monitor looks like a big button in the pane. Currently only packets and agents may have monitors.<P>A packet monitor shows the size, id, and sent time. When the packet reaches its destination, the monitor will still be there, but will say that the packet is invisible. An agent monitor shows the name of the agent, and if there are any variable traces associated with this agent, they will be shown there as well.<P>Below the monitor pane (or in its place if the monitor pane isn't there), there is a Time Slider. It looks likea scaled ruler, with a tag 'TIME' which can be dragged along the ruler. It is used to set the current animation time. As you drag the 'TIME' tag, current animation time will be displayed in the time label in the control bar above. The left edge of the slider represents the earliest event time in the trace file and the right edge represents the last event time. Clicking left button on the ruler (not on the tag) has the same effect as Rewind or Fast Forward, depending on the clicking position.<P>The Automatic Layout Pane may be visible or hidden. If visible, it is below the time slider. It has three inputboxes and one relayout button. The labeled input boxes let user adjust two automatic layout constants, and the number of iterations during next layout. When user press ENTER in any of the input boxes, or click the'relayout' button, that number of iterations will be performed. Refer to the AUTOMATIC LAYOUT section for details of usage.<P>The bottom component of the nam window is a Annotation Listbox, where annotations are displayed. Anannotation is a (time, string) pair, which describes a event occuring at that time. Refer to ns(1) for functions to generate annotations. Double-clicking on an annotation in the listbox will bring nam to the time when that annotation is recorded. When the pointer is within the listbox, clicking the right button will stop the animation and bring up a popup menu with 3 options: Add, Delete, Info. 'Add' will bring up a dialog box with a text input to add a new annotation entry which has the current animation time. The user can type an annotation string in the dialog box. `Delete' will delete the annotation entry pointed by the pointer. `Info' will bring out a pane which shows both the annotation time and the annotation string.<P><HR><!--Navigation Panel--><A NAME="tex2html9986" HREF="node558.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node558.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html9980" HREF="node554.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node554.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html9974" HREF="node556.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node556.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html9982" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html9984" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html9987" HREF="node558.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node558.html">40.4 Keyboard Commands</A><B> Up:</B> <A NAME="tex2html9981" HREF="node554.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node554.html">40. Nam</A><B> Previous:</B> <A NAME="tex2html9975" HREF="node556.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node556.html">40.2 Nam Command Line</A>   <B> <A NAME="tex2html9983" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html9985" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <!--End of Navigation Panel--><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -