Files
python-gpiozero/docs/images/composite_device_hierarchy.dot
Dave Jones 8c7712c3aa Quick addition of ButtonBoard docs
Nothing special (no recipes yet); just add the stuff necessary to the
reST to pull it from source and add it to the diagrams
2016-08-30 23:23:11 +01:00

40 lines
1018 B
Plaintext

/* 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;
CompositeDevice;
CompositeOutputDevice;
LEDCollection;
/* Concrete classes */
node [color="#2980b9", fontcolor="#ffffff"];
CompositeDevice->Device;
CompositeOutputDevice->CompositeDevice;
LEDCollection->CompositeOutputDevice;
LEDBoard->LEDCollection;
LEDBarGraph->LEDCollection;
PiLiter->LEDBoard;
PiLiterBarGraph->LEDBarGraph;
TrafficLights->LEDBoard;
PiTraffic->TrafficLights;
TrafficLightsBuzzer->CompositeOutputDevice;
FishDish->TrafficLightsBuzzer;
TrafficHat->TrafficLightsBuzzer;
Robot->CompositeDevice;
RyanteckRobot->Robot;
CamJamKitRobot->Robot;
Motor->CompositeDevice;
Servo->CompositeDevice;
AngularServo->Servo;
Energenie->Device;
ButtonBoard->CompositeDevice;
}