File: garden_light.dot

package info (click to toggle)
gpiozero 2.0.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,192 kB
  • sloc: python: 15,355; makefile: 246
file content (24 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* vim: set et sw=4 sts=4: */

digraph {
    graph [rankdir=RL];
    edge [arrowhead=normal, style=solid];

    /* Devices */
    node [shape=rect, style=filled, color="#2980b9", fontname=Arial, fontcolor="#ffffff", fontsize=10];

    led [label="Garden light"]
    light [label="Light sensor"]
    motion [label="Motion sensor"]

    /* functions */
    node [shape=oval, style=filled, color="#9ec6e0", fontcolor="#ffffff"];

    booleanized
    all_values

    all_values -> led;
    booleanized -> all_values;
    motion -> all_values;
    light -> booleanized;
}