diff --git a/README.md b/README.md index b4771ab..64bad15 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,9 @@ Deploy : ## Populating the MongoDB database -From the root of the projet run : +On the machine running the mongoDB container, from the root of the project run this line : -`./scripts/multinode.sh ./scripts/demo.json` +`./scripts/populate_models.sh ./scripts/demo.json` This script should be updated to be ran from anywhere. diff --git a/docs/UML/mxgraph.puml b/docs/UML/mxgraph.puml new file mode 100644 index 0000000..54e178e --- /dev/null +++ b/docs/UML/mxgraph.puml @@ -0,0 +1,54 @@ +@startuml mxgraph +package MxGraph { + + class MxGraphModel { + - XMLName xml.Name + + Root : RootStruct + + createLinks() + } + + class RootStruct { + - XMLName xml.Name + - MxCell[] MxCell + - MxObject[] MxObject + - MxLink[] MxLink + } + + class MxCell { + - XMLName xml.Name + + ID string + + RID *string + + Rtype string + + Parent *string + + Edge *string + + Source *string + + Target *string + + processLinks() + } + + class MxLink { + + ID string + + Source string + + Target string + } + + class MxObject { + - XMLName xml.Name + + ID string + + Settings []xml.Attr + + MxCell MxCell + } + + class mxissue { + - msg string + + Error() string + } + + MxGraphModel *-- RootStruct : Root + RootStruct *-- MxCell : MxCell + RootStruct *-- MxObject : MxObject + RootStruct *-- MxLink : MxLink + MxObject *-- MxCell : MxCell +} + +@enduml diff --git a/docs/UML/plantuml/diagram_object_routers.puml b/docs/UML/plantuml/diagram_object_routers.puml new file mode 100644 index 0000000..7a1a009 --- /dev/null +++ b/docs/UML/plantuml/diagram_object_routers.puml @@ -0,0 +1,2 @@ +@startuml +@enduml diff --git a/docs/graph_construction.md b/docs/graph_construction.md new file mode 100644 index 0000000..3933ec3 --- /dev/null +++ b/docs/graph_construction.md @@ -0,0 +1,5 @@ +For an easier parsing and constrution of dependencies we decided that : + +- Computing elements must be linked between one another, to represent the chaining of events +- A storage component can be shared by several computing component, the direction of the arrow will determine if it's for writting or reading +