|
|
@ -16,11 +16,6 @@
|
|
|
|
(viz/all-instances (vis-domain/all-instance-connections!))]))
|
|
|
|
(viz/all-instances (vis-domain/all-instance-connections!))]))
|
|
|
|
|
|
|
|
|
|
|
|
(defroutes routes
|
|
|
|
(defroutes routes
|
|
|
|
(GET (register! :vis-single-instance "/visualisation/instance/:uuid")
|
|
|
|
|
|
|
|
[uuid]
|
|
|
|
|
|
|
|
{:body (viz/single-instance
|
|
|
|
|
|
|
|
(domain-instance/full-instance-by-uuid! uuid))
|
|
|
|
|
|
|
|
:headers {"Content-Type" "image/svg+xml"}})
|
|
|
|
|
|
|
|
(GET (register! :vis-all-instances "/visualisation/all-instances")
|
|
|
|
(GET (register! :vis-all-instances "/visualisation/all-instances")
|
|
|
|
[:as req]
|
|
|
|
[:as req]
|
|
|
|
(all-instances req)))
|
|
|
|
(all-instances req)))
|
|
|
|