Topology Generator

From Nsnam
Revision as of 16:10, 10 February 2013 by Vedranm (Talk | contribs) (Vedranm moved page Ns3Generator to Topology Generator: Wiki page name cleanup)

Jump to: navigation, search

Main Page - Current Development - Developer FAQ - Tools - Related Projects - Project Ideas - Summer Projects

Installation - Troubleshooting - User FAQ - HOWTOs - Samples - Models - Education - Contributed Code - Papers

The ns-3 topology generator project aims to provide a quick and easy way to create ns-3 topology. It provides intuitive GUI so you can add nodes, link, applications, ... and generates C++ simulation code for ns-3.

This tool has been written by Pierre Weiss and Sebastien Vincent, University of Strasbourg.


You need Qt 4 libraries to compile and use ns-3 topology generator.


To download the project:

$ hg clone

To build the project:

$ qmake
$ make


To use it, simply run:

$ ./ns-3-generator

To generate the API documentation (you need doxygen tool): $ doxygen Doxyfile

The HTML generated documentation is located in doc/html/ directory of sources.

Configurations may be saved to an XML file and later loaded.

Example screenshot

Ns-3-generator-test.png C++ code generated from the above screenshot. Python code can also be generated. The configuration can be saved in XML and reloaded. Note: two applications were added and can be sen in the generated code (not visible in the screenshot).

Feature requests

  • Ability to configure tracing
  • (others go here)