Skip to content

Commit

Permalink
update class diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
everythingfunctional committed Aug 10, 2023
1 parent 5cbf666 commit f95f965
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 24 deletions.
Binary file modified doc/class_diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 11 additions & 24 deletions doc/class_diagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,23 @@ Title "Classes in FEATS"

hide empty members

class application_t{
dag : dag_t
task_item : task_item_t[]
}
note right: inv: self%dag%get_num_edges()==size(self%task_item[])
application_t *-down- task_item_t

class dag_t{
vertices : vertex_t[]
}

class vertex_t{
edges : integer[]
dependencies : integer[]
task : task_t
}

application_t *-down- dag_t
dag_t *-down- vertex_t

class image_t{
run(application : application_t)
}

image_t -right-> application_t : accepts

class task_item_t{
{abstract} task : task_t
execute(arguments : payload_t[])
}

abstract class task_t{
{abstract} execute(arguments : payload_t[])
{abstract} execute(arguments : payload_t[]) : payload_t
}

task_item_t *-down- task_t
vertex_t *-down- task_t
task_t -left-> payload_t : accepts
task_item_t -left-> payload_t : accepts

class payload_t{
payload : integer[]
Expand All @@ -49,6 +30,12 @@ object mailbox{
}

mailbox *-down- payload_t
image_t --> mailbox : uses

class runner{
run(dag : dag_t)
}

runner -down-> mailbox : uses
runner -right-> dag_t : accepts

@enduml

0 comments on commit f95f965

Please sign in to comment.