|
|
|
@ -16,11 +16,6 @@
|
|
|
|
|
(viz/all-instances (vis-domain/all-instance-connections!))]))
|
|
|
|
|
|
|
|
|
|
(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")
|
|
|
|
|
[:as req]
|
|
|
|
|
(all-instances req)))
|
|
|
|
|