12345678910111213141516171819202122232425262728293031323334353637 |
- package inet.examples.visualization.datalink;
- import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
- import inet.node.dymo.DYMORouter;
- import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
- import inet.visualizer.integrated.IntegratedVisualizer;
- network DataLinkVisualizationExample
- {
- parameters:
- @figure[description](type=text; pos=300,10; font=Arial,20; text="Displaying dynamically changing active links in a wireless mobile network.\nThe source node pings the destination node every 1 second.\nActive links are eventually displayed as arrows, they fade out over time.\nActive links change as nodes move around and communicate.");
- submodules:
- visualizer: IntegratedVisualizer {
- parameters:
- @display("p=100,50;is=n");
- }
- configurator: IPv4NetworkConfigurator {
- parameters:
- @display("p=100,150");
- }
- radioMedium: Ieee80211ScalarRadioMedium {
- parameters:
- @display("p=100,250");
- }
- source: DYMORouter {
- parameters:
- @display("p=100,900");
- }
- destination: DYMORouter {
- parameters:
- @display("p=900,300");
- }
- node[20]: DYMORouter {
- parameters:
- @display("r=,,#707070");
- }
- }
|