old code, svg styling

integration-tests
Josha von Gizycki 6 years ago
parent 7e024e99ab
commit 708ccc5812

@ -236,3 +236,12 @@ table {
} }
} }
} }
svg {
.node {
text:last-child {
font-style: italic;
font-size: .8rem;
}
}
}

@ -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)))

Loading…
Cancel
Save