From 056b17d77a8b1344ba38c62484cecb7edd5bcb00 Mon Sep 17 00:00:00 2001 From: tworrall Date: Fri, 29 Jun 2012 16:52:52 +0000 Subject: [PATCH] NIHVIVO-2930 minor layout changes to visualization tools page --- productMods/css/visualization/visualization.css | 11 ++++++++++- .../freemarker/visualization/tools.ftl | 17 ++++++++++------- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/productMods/css/visualization/visualization.css b/productMods/css/visualization/visualization.css index 06cf178d..ee1097bb 100644 --- a/productMods/css/visualization/visualization.css +++ b/productMods/css/visualization/visualization.css @@ -79,4 +79,13 @@ span.incomplete-data-holder, } .infoIcon { padding-right:30px; -} \ No newline at end of file +} +/* ---------------------------*/ +/* Visualization Tools -------*/ +/* ---------------------------*/ +section.visualizationTools h3, p { + margin-left:20px; +} +section.visualizationTools p { + margin-left:20px; +} diff --git a/productMods/templates/freemarker/visualization/tools.ftl b/productMods/templates/freemarker/visualization/tools.ftl index f7e05c7c..97fa7032 100644 --- a/productMods/templates/freemarker/visualization/tools.ftl +++ b/productMods/templates/freemarker/visualization/tools.ftl @@ -6,21 +6,24 @@

Visualization Tools

Refresh Cached Models for Visualization - -

Why

+
+

Why is it needed?

Large-scale visualizations like the Temporal Graph or the Map of Science involve calculating total counts of publications or -of grants for some entity. Since this means checking also through of its all sub-entities, the underlying queries can be both +of grants for some entity. Since this also means checking through all of its sub-entities, the underlying queries can be both memory-intensive and time-consuming. For a faster user experience, we wish to save the results of these queries for later re-use.

-

What

-

To this end we have devised a caching solution which will retain information about the hierarchy of organizations-namely, -which publications are attributed to which organizations-by storing the RDF model.

+

What's involved in the caching process?

+

To this end we have devised a caching solution which will retain information about the hierarchy of organizations -- namely, +which publications are attributed to which organizations -- by storing the RDF model.

We're currently caching these models in memory. The cache is built (only once) on the first user request after a server restart. Because of this, the same model will be served until the next restart. This means that the data in these models may become stale depending upon when it was last created. This works well enough for now. In future releases we will improve this solution so that models are stored on disk and periodically updated.

-

How

The models are refreshed each time the server restarts. Since this is not generally practical on production instances, administrators can instead use the "refresh cache" link above to do this without a restart.

+
+ + +${stylesheets.add('')}