Hi,
Thank you for your reminder — you are absolutely right. I forgot to include demonstrations here and on GitHub, and that was my mistake. I have now updated the repository with several demo examples.
I would like to present a classic scenario:
examples/wireless/wifi-txop-aggregation.cc
The screenshot below shows the result after running this example.(A short GIF for demo is also attached)
This tool captures all transmitted PPDUs and presents them in multiple forms, including:PPDU timeline visualization,Throughput plots and Terminal output logs
The UI interaction has also been carefully designed (although it still needs further improvement).
After selecting a scenario and clicking [Apply], the simulation starts and automatically switches to the timeline page.
In DIY mode, users can drag nodes inside the building layout (or manually set their positions),adjust the placement of access points and stations and configure simulation parameters via the configuration page
For most wireless scenarios, the Ns3Visualizer model (contrib/Ns3Visualizer) can sniff PPDUs and forward them to the GUI for visualization.
I believe this tool may be helpful for research and teaching purposes. It could also provide users who are not very familiar with ns-3 or C++ with a more intuitive way to “see” network simulations.
It is still under development and requires further improvements and bug fixing. I sincerely welcome feedback, suggestions, and issue reports here or on GitHub.
GitHub repository:
https://github.com/z14212638-eng/Ns3-based-Visualization

Hi Al.,
Thank you for the suggestion.
It was actually quite a surprise that you noticed my tool from the mailing list (laugh). I think integrating it into the ns-3 App Store is a very good idea. Over the past few months, I have been continuously polishing the tool based on feedback and requirements from my advisor and colleagues in the lab.
(I am also planning to submit a paper to this year's ICNS3 introducing the tool and its design.)
After the project becomes more mature, I will propose it for integration into the ns-3 App Store as well.
Regards,
Kevin

Thank you very much! That is indeed a very good point, and I will consider start preparing the App Store submission earlier.
It is also great to hear that you are submitting a paper to ICNS3 as well. I believe your work will definitely provide valuable guidance for future visualization-related research in ns-3.
Looking forward to it. (:D)
Regards,
Kevin
Hi Alberto,
Thank you for the suggestions regarding the ns-3 app store integration.
I have now updated the repository structure to better follow the app store guidelines (module layout, documentation, examples, tests, etc.).
Here is the repo: <https://github.com/z14212638-eng/Ns3-based-Visualization>
If you have time, could you please take a quick look and let me know whether there are still any major issues or missing requirements for app store compatibility?
Also, I would like to ask who would be the appropriate person to contact to further proceed with the app submission/integration process.
Thank you again for your help and suggestions.
Regards,
Kevin
Hi Alberto,
Thanks a lot for your guidance and feedback, I really appreciate it.
Compared to other visualizers such as NetSimulyzer and PyViz, this project is quite different, and yes, I will definitely discuss these differences in the paper.
Your advice regarding the UI design is very practical and helpful. Adjusting the size and layout of graphical components is always a difficult problem for designers. I am still somewhat unsure about the best balance. Previously, I experimented with a more compact layout, but it made the parameter configuration components difficult to read on smaller displays. Because of that, I intentionally increased the size of the UI elements. However, the excessive blank and unused space you pointed out is indeed something that needs improvement, and your suggestion is very valuable for my future work.
You also mentioned that the name of the visualizer, "WiFiViz", may not be suitable if developers want to extend the tool to other modules. I completely agree with your opinion, and I hope I can eventually overcome this limitation. I would be very happy to build visualization tools for other modules such as Lr-Wpan, 6LoWPAN, and others.
The main challenge is that there is no perfect solution for every requirement, especially across different modules. Different technologies use different transmission units: PPDU for WiFi, PSDU/MAC Frame for Lr-Wpan, Transport Block or Slot for 5G NR, and so on. Because of these differences, it is difficult for a single visualizer to satisfy all requirements equally well.
I would be very happy to work with you on a visualizer for Lr-Wpan. However, it is a bit unfortunate that I may need to create a new visualizer instead of extending WiFiViz directly, since the current UI is heavily specialized for WiFi scenarios.
Perhaps there is a better solution. In another discussion, I found that some developers would prefer to design their own UI. In that case, it might be better to provide a general data exporting system instead. I was wondering whether it would be possible to design a data transformer that converts module-specific transmission units into a unified metadata representation. I am not sure whether this idea is practical yet, but I think it could be a promising direction for visualization.
Or perhaps I should be more realistic (laugh :D). If there is a real need for an Lr-Wpan visualizer, I would be willing to study the related technologies and try to build one, then continue improving it based on your feedback.
Best regards,
Kevin
Dear Alberto,
I fully agree that creating separate parsers for different modules is not an efficient use of time. It may be worthwhile for us to discuss this during the conference and explore the design of a more general visualization framework that could support multiple ns-3 modules.
Regarding an Lr-WPAN visualizer, I would like to spend some time studying the module and its typical use cases before starting the implementation. Alternatively, do you think it would be better to wait until after our conference discussion so that the design can align with any broader visualization plans?
In the meantime, could you tell me what visualization features or requirements you have in mind for Lr-WPAN? I would also appreciate it if you could provide some example simulation scripts and let me know what kinds of data, events, or metrics you would like to trace and visualize.
Regards,
Kevin
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/89d3986d-2685-4cfd-8fc4-270046b68e1an%40googlegroups.com.