graph update

This commit is contained in:
ycc 2024-07-05 17:41:40 +02:00
parent f07f378aa1
commit e5c63bf430

View File

@ -3,6 +3,11 @@
abstract Ressource {
+id: int
+name: string
+icon: string
+description: string
+graphic: GraphicElement
+element: Data/Processing/Storage/Workflow/Datacenter
}
class Data {
@ -15,7 +20,7 @@ class Processing {
+name: string
+container: string
+command: int
+environment: int
+environment: int
}
@ -52,14 +57,28 @@ class WorkflowSchedule {
class Graph {
+id: int
Ressource[] ressources
Link[] links
+ressources: Ressource[]
+links: Link[]
}
class Link {
+id: int
+source: Ressource
+target: Ressource
graphic: GraphicLink
}
class GraphicLink {
+id: int
+startXY: coord
+endXY: coord
+style: string
}
class GraphicElement {
+id: int
+style: string
+xy: coord
}
class Calendar {
@ -81,6 +100,14 @@ class DatacenterWorkflows {
+workflows: Workflow[]
}
class Graph {
+id: int
+graph: Graph
+workflows: Workflow[]
}
UserWorkflows "1" o-- "0..*" Workflow
DatacenterWorkflows "1" o-- "0..*" Workflow
@ -100,6 +127,9 @@ Workflow "1" o-- "0..*" Graph
Graph "1" o-- "0..*" Ressource
Graph "1" o-- "0..*" Link
Ressource -- GraphicElement
Link -- GraphicLink
Calendar "1" o-- "0..*" Workflow