Update infrasturcture.md to make mermaid work
This commit is contained in:
@@ -25,58 +25,59 @@ At the lowest level of our system we are showing how the software is designed. T
|
||||
``` mermaid
|
||||
classDiagram
|
||||
|
||||
Node --> Raspberry pi : Websocket
|
||||
Raspberry pi --> Website : getData
|
||||
Raspberry pi <--> EnqueteNode : Websocket
|
||||
Node --> Raspberry pi : Websocket
|
||||
Raspberry pi --> Website : getData
|
||||
Raspberry pi <--> EnqueteNode : Websocket
|
||||
|
||||
namespace Server {
|
||||
class Raspberry pi {
|
||||
+MariaDB
|
||||
+Apache2
|
||||
+Python
|
||||
Database()
|
||||
Webserver()
|
||||
Websocket()
|
||||
|
||||
}
|
||||
class Node {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
collectData()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
namespace User {
|
||||
class Website {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
+Graph
|
||||
+Map
|
||||
+Settings
|
||||
GetData()
|
||||
}
|
||||
class EnqueteNode {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
+Graph
|
||||
+Map
|
||||
+QuestionResponse
|
||||
EnqueteDisplay()
|
||||
EnqueteButtons()
|
||||
GetData()
|
||||
namespace Server {
|
||||
class Raspberry pi {
|
||||
+MariaDB
|
||||
+Apache2
|
||||
+Python
|
||||
Database()
|
||||
Webserver()
|
||||
Websocket()
|
||||
|
||||
}
|
||||
class Node {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
collectData()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
namespace User {
|
||||
class Website {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
+Graph
|
||||
+Map
|
||||
+Settings
|
||||
GetData()
|
||||
}
|
||||
|
||||
class EnqueteNode {
|
||||
+Co2
|
||||
+Temperature
|
||||
+Humidity
|
||||
+Tfok
|
||||
+Sound
|
||||
+Graph
|
||||
+Map
|
||||
+QuestionResponse
|
||||
EnqueteDisplay()
|
||||
EnqueteButtons()
|
||||
GetData()
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
```
|
Reference in New Issue
Block a user