[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] Using nam to draw NSF topology?



tcl/ex/srm-demo.tcl shows a larger topology about 15 nodes and links.
~nam/ex/{rbp_demo,flat-*,losspatterns}.nam show some examples of
predefined nam layout.

When you specify that manual layout, you must be careful about the order
of nodes in your duplex link and the order in which links are created. Think
about
it as you are laying down links one by one to form a spanning tree. Then
grow
edges on top of that. It can be tricky for larger topology.

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]On
> Behalf Of Bo Wen
> Sent: Monday, June 19, 2000 2:25 PM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [ns] Using nam to draw NSF topology?
>
>
> Thanks for your reply.  I tried tcl/ex/nam-example.tcl, and it
> did work well.
> But in my NSF script, I did specify the angle for every link in
> my script, and
> I still got a mess topology, --- nam did not follow the indication on
> orientation.
>
> It seems that it only work with small topology, since my NSF topology has
> more than 20 connected links.
>
> Bo
>
> Haobo Yu wrote:
>
> > You must specify that orientation information for every link. See
> > tcl/ex/nam-example.tcl for an example. If you think there might
> be something
> > wrong, use your ns on that example file and see if it works.
> >
> > > -----Original Message-----
> > > From: [email protected] [mailto:[email protected]]On
> > > Behalf Of Bo Wen
> > > Sent: Monday, June 19, 2000 1:38 PM
> > > To: [email protected]
> > > Subject: [ns] Using nam to draw NSF topology?
> > >
> > >
> > > Has anyone used nam to draw the NSF backbone topolody?
> > >
> > > I tried to designate the accurate the angle for every link
> > > to describe the NSF topology in my tcl script, but nam
> > > always did not follow my intention, and it always gave me
> > > a bunch of mess.
> > >
> > > I only used "duplex-link-op orient", like "... orient 240deg",
> > > but it really did not work.
> > >
> > > Thank a lot for any hints.
> > >
> > > Bo
> > >
> > >
>
>