-
Notifications
You must be signed in to change notification settings - Fork 0
/
EFSM_packet_limiter.json
54 lines (54 loc) · 1.04 KB
/
EFSM_packet_limiter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"nodes": [
{
"x": 118,
"y": 168,
"text": "0",
"isAcceptState": false
},
{
"x": 331,
"y": 168,
"text": "count",
"isAcceptState": false
},
{
"x": 594,
"y": 168,
"text": "block",
"isAcceptState": false
}
],
"links": [
{
"type": "Link",
"nodeA": 0,
"nodeB": 1,
"text": " | | pkt = 1 | forward()",
"lineAngleAdjust": 0,
"parallelPart": 0.5233644859813084,
"perpendicularPart": -59
},
{
"type": "Link",
"nodeA": 1,
"nodeB": 2,
"text": " | pkt >= 10 | | drop()",
"lineAngleAdjust": 3.141592653589793,
"parallelPart": 0.5295658538464503,
"perpendicularPart": -58.19084654409617
},
{
"type": "SelfLink",
"node": 2,
"text": " | | | drop()",
"anchorAngle": 1.5707963267948966
},
{
"type": "SelfLink",
"node": 1,
"text": " | pkt < 10 | pkt = pkt + 1 | forward()",
"anchorAngle": 1.5707963267948966
}
]
}