NED File showcases/visualizer/styling/StylingShowcase.ned

Name Type Description
StylingShowcase network

TODO documentation

IconAppearanceShowcase network

TODO documentation

Source code:

//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
// 
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
// 

package inet.showcases.visualizer.styling;
import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
import inet.node.ethernet.Eth10M;
import inet.node.inet.AdhocHost;
import inet.node.inet.StandardHost;
import inet.physicallayer.ieee80211.packetlevel.Ieee80211RadioMedium;
import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
import inet.visualizer.integrated.IntegratedVisualizer;


//
// TODO documentation
//
network StylingShowcase
{
    @display("bgb=600,250");
    submodules:
        host1: AdhocHost {
            @display("p=205,100");
        }
        host2: AdhocHost {
            @display("p=465,100");
        }
        visualizer: IntegratedVisualizer {
            @display("p=50,50");
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=50,100");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            @display("p=50,150");
        }
}

//
// TODO documentation
//
network IconAppearanceShowcase
{
    @display("bgb=600,250");
    submodules:
        host1: StandardHost {
            @display("p=205,125");
        }
        host2: StandardHost {
            @display("p=465,125");
        }
        visualizer: IntegratedVisualizer {
            @display("p=50,75");
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=50,175");
        }
    connections:
        host1.ethg++ <--> Eth10M <--> host2.ethg++;
}