documentation/graphs/fsm_change.dot
author Florian Pose <fp@igh-essen.com>
Thu, 09 Jun 2016 13:52:22 +0200
branchstable-1.5
changeset 2664 14a18eae7e3b
parent 2513 e60c68f33e4f
permissions -rw-r--r--
Migrated user-space example to use clock_nanosleep().
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
/* $Id$ */
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
digraph change {
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
     5
    node [fontname="Helvetica"]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
     6
    edge [fontname="Helvetica", fontsize="12"]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
     8
    start
1804
742607c464c4 Removed tabulators.
Florian Pose <fp@igh-essen.com>
parents: 1203
diff changeset
     9
    start -> check [weight=5]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    11
    check
1804
742607c464c4 Removed tabulators.
Florian Pose <fp@igh-essen.com>
parents: 1203
diff changeset
    12
    check -> status [weight=5]
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    13
    check -> error [label="Response\ntimeout"]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    14
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    15
    status
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    16
    status -> end [label="Success", weight=5]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    17
    status -> code [label="Refuse", weight=5]
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    18
    status -> error [label="Change\ntimeout"]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    19
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    20
    code
1804
742607c464c4 Removed tabulators.
Florian Pose <fp@igh-essen.com>
parents: 1203
diff changeset
    21
    code -> ack [weight=2]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    22
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    23
    start_ack
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    24
    start_ack -> ack [label="Ack only"]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    25
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    26
    ack
1804
742607c464c4 Removed tabulators.
Florian Pose <fp@igh-essen.com>
parents: 1203
diff changeset
    27
    ack -> check_ack [weight=2]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    28
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    29
    check_ack
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    30
    check_ack -> end [label="Ack only"]
1804
742607c464c4 Removed tabulators.
Florian Pose <fp@igh-essen.com>
parents: 1203
diff changeset
    31
    check_ack -> error [weight=2]
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    32
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    33
    end
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    34
2513
e60c68f33e4f Improved fon specifications in DOT graphs.
Florian Pose <fp@igh-essen.com>
parents: 1804
diff changeset
    35
    error
1203
acb649738601 Some more documentation...
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    36
}