/* vim: set et sw=4 sts=4: */

digraph classes {
    graph [rankdir=BT];
    node [shape=rect, style=filled, fontname=Sans, fontsize=10];
    edge [];

    /* Abstract classes */
    node [color="#9ec6e0", fontcolor="#000000"]
    Device;
    GPIODevice;
    SmoothedInputDevice;

    /* Concrete classes */
    node [color="#2980b9", fontcolor="#ffffff"];

    GPIODevice->Device;
    InputDevice->GPIODevice;
    DigitalInputDevice->InputDevice;
    SmoothedInputDevice->InputDevice;
    Button->DigitalInputDevice;
    MotionSensor->SmoothedInputDevice;
    LightSensor->SmoothedInputDevice;
    LineSensor->SmoothedInputDevice;
    DistanceSensor->SmoothedInputDevice;
}

