163 lines
3.3 KiB
Org Mode
163 lines
3.3 KiB
Org Mode
* Diagramas UML
|
|
|
|
** Functional
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/FD.png
|
|
:Script|
|
|
split
|
|
:Alta de un glaciar;
|
|
split again
|
|
:Inclusión de datos anuales;
|
|
split again
|
|
:Cálculo de las variaciones anuales;
|
|
split again
|
|
:Actualización de la base de datos;
|
|
split again
|
|
:Alta del administrador;
|
|
:Administrador|
|
|
:Resolución de conflictos;
|
|
endsplit
|
|
:IGDB|
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/FD.png]]
|
|
|
|
|
|
** Data-flow
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/DF1.png
|
|
:Script|
|
|
:Alta del Glaciar;
|
|
-> Nuevo glaciar;
|
|
:Glaciar<
|
|
:IGDB|
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/DF1.png]]
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/DF2.png
|
|
:Script|
|
|
:Inclusión de datos anuales;
|
|
-> Añadir información;
|
|
:Glaciar<
|
|
:IGDB|
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/DF2.png]]
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/DF3.png
|
|
:Script|
|
|
:Cálculo de las variaciones anuales;
|
|
:Inclusión de datos anuales;
|
|
-> Añadir información;
|
|
:Glaciar<
|
|
:IGDB|
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/DF3.png]]
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/DF4.png
|
|
:Script|
|
|
:Alta del administrador;
|
|
-> Nuevo administrador;
|
|
:Administrador<
|
|
:IGDB|
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/DF4.png]]
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/DF5.png
|
|
:Script|
|
|
:Actualización de la base de datos;
|
|
:Inclusión de datos anuales;
|
|
-> Añadir información;
|
|
:Glaciar<
|
|
:IGDB|
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/DF5.png]]
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/DF6.png
|
|
:Script|
|
|
:Administrador<
|
|
:Resolución de conflictos;
|
|
-> Selecciona los datos correctos;
|
|
:Actualización de la base de datos;
|
|
:IGDB|
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/DF6.png]]
|
|
|
|
** Black box
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/BB.png
|
|
@startuml
|
|
start
|
|
:WGMS|
|
|
:**Sistema**;
|
|
:IGDB|
|
|
end
|
|
@enduml
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/BB.png]]
|
|
|
|
** Entity Relationship
|
|
|
|
|
|
#+begin_src plantuml :file ../Assets/Diagrams/ER.png
|
|
@startuml
|
|
hide circle
|
|
skinparam linetype ortho
|
|
entity "Glacier" as e01 {
|
|
,* **glacier_id** : number <<generated>>
|
|
--
|
|
,*glacier_name : text
|
|
--
|
|
,*glacier_country: text
|
|
}
|
|
entity "Glacier yearly data" as e02 {
|
|
,* **glacier_id** : number <<FK>>
|
|
--
|
|
,*glacier_volume: number
|
|
--
|
|
,*glacier_area: number
|
|
--
|
|
,*glacier_thickness: number
|
|
--
|
|
,*glacier_year: number
|
|
}
|
|
entity "Glacier yearly fluctuation" as e03 {
|
|
,* **glacier_id** : number <<FK>>
|
|
--
|
|
,*glacier_area_change: number
|
|
--
|
|
,*glacier_volume_change: number
|
|
--
|
|
,*glacier_thickness_change: number
|
|
--
|
|
,*glacier_year: number <<FK>>
|
|
}
|
|
entity "Admin" as e04 {
|
|
,*admin_id : number <<generated>>
|
|
--
|
|
,*admin_creation_date: date
|
|
}
|
|
e01 ||..|{ e02
|
|
e02 ||..|| e03
|
|
e01 ||..|{ e03
|
|
e04 ||..o| e01
|
|
@enduml
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
[[file:../Assets/Diagrams/ER.png]]
|