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