... | @@ -5,21 +5,27 @@ |
... | @@ -5,21 +5,27 @@ |
|
|
|
|
|
```mermaid
|
|
```mermaid
|
|
sequenceDiagram
|
|
sequenceDiagram
|
|
olqv.js->>+serverWsgi: server is up ?
|
|
participant a as olqv.js
|
|
serverWsgi->>olqv.js: yes
|
|
participant b as yafitss:serverWsgi
|
|
olqv.js->>+serverWsgi: get rendering capabilities
|
|
participant c as olqv.ejs
|
|
serverWsgi->>olqv.js: capabilities
|
|
participant d as olqv_2-5.ejs
|
|
olqv.js->>+serverWsgi: get fits header
|
|
participant e as olqv_error.ejs
|
|
serverWsgi->>olqv.js: header
|
|
|
|
|
|
a->>+b : server is up ?
|
|
|
|
b->>a: yes
|
|
|
|
a->>+b: get rendering capabilities
|
|
|
|
b->>a: capabilities
|
|
|
|
a->>+b: get fits header
|
|
|
|
b->>a: header
|
|
|
|
|
|
alt path1
|
|
alt path1
|
|
olqv.js->>+olqv.js: header declares 3D ? Yes
|
|
a->>+a: header declares 3D ? Yes
|
|
olqv.js->>+olqv.ejs: display spectrum
|
|
a->>+c: display spectrum
|
|
else path2:
|
|
else path2:
|
|
olqv.js->>+olqv.js: header declares 2D ? Yes
|
|
a->>+a: header declares 2D ? Yes
|
|
olqv.js->>+olqv_2-5.ejs: display spectrum
|
|
a->>+d: display spectrum
|
|
else path2:
|
|
else path2:
|
|
olqv.js->>+olqv.js: header declares another case ? Yes
|
|
a->>+a: header declares another case ? Yes
|
|
olqv.js->>+olqv_error.ejs: display spectrum
|
|
a->>+e: display spectrum
|
|
end
|
|
end
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |