diff --git a/.Rbuildignore b/.Rbuildignore index d71fc80..fbfc029 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,4 @@ +^CRAN-RELEASE$ ^Meta$ ^doc$ ^.*\.Rproj$ diff --git a/DESCRIPTION b/DESCRIPTION index ec2f098..69494e0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: processanimateR Type: Package Title: Process Map Token Replay Animation -Version: 1.0.0.9000 +Version: 1.0.0 Authors@R: c(person("Felix","Mannhardt", email = "felix.mannhardt@sintef.no", role = c("aut","cre")), person("Gert","Janssenswillen",email = "gert.janssenswillen@uhasselt.be", role = c("ctb"))) Description: Token replay animation for process maps created with diff --git a/NEWS.md b/NEWS.md index 7c4d829..310c885 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,11 +4,15 @@ There are breaking changes in the API between v0.3.0 and v1.0.0. The old API was ### Backwards incompatible changes -* TBD +* Completely changed API to reduce the number of parameters. Factored out functions to deal with specific aspects of the visual representation of tokens to functions `token_aes` and `token_scale`. +* Dropped the `scales` based colors in favour of D3 scales and legends. ### New features -* TBD +* Added leaflet-based `renderer` that draws the process map on a geographical map. +* Added `initial_` parameters to control the initial playback state. +* Added `repeat_` parameters to control how the animation is repeated. +* Many other small improvements and tweaks. ## processanimateR 0.3.0 diff --git a/README.md b/README.md index 219ee1c..d5a7e35 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ProcessanimateR provides a [htmlwidget](https://www.htmlwidgets.org/) using SVG ## Getting Started -**WARNING: There are breaking changes in the API of this package between v0.3.0 and v1.0. The documentation here is already updated to the new API in v1.0, which won't work with the released CRAN version!** +**WARNING: There are breaking changes in the API of this package between v0.3.0 and v1.0.0** ### Installing @@ -100,7 +100,7 @@ Felix Mannhardt ([SINTEF Digital -- Technology Management Department](https://ww ## License -This software is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details +This software is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details. ## Acknowledgments diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 7c5ff4a..ea7d40d 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -58,7 +58,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/LICENSE.html b/docs/LICENSE.html index e1edeb3..4e9a35f 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -58,7 +58,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/articles/index.html b/docs/articles/index.html index 8fa4bbd..404ce7e 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -58,7 +58,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/articles/use-external-data-to-change-tokens.html b/docs/articles/use-external-data-to-change-tokens.html index a93be8f..ab56b58 100644 --- a/docs/articles/use-external-data-to-change-tokens.html +++ b/docs/articles/use-external-data-to-change-tokens.html @@ -29,7 +29,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 @@ -98,7 +98,7 @@

Use external data (process context) to change token aesthetics

Felix Mannhardt

-

2018-11-19

+

2018-11-27

Source: vignettes/use-external-data-to-change-tokens.Rmd @@ -135,8 +135,8 @@

2018-11-19

mapping = token_aes(color = token_scale(lactic, scale = "linear", range = c("#fff5eb","#7f2704")))) -
- +
+ @@ -91,7 +91,7 @@

Use processanimateR selection as Shiny inputs

Felix Mannhardt

-

2018-11-19

+

2018-11-27

Source: vignettes/use-shiny-selections.Rmd diff --git a/docs/articles/use-token_scales.html b/docs/articles/use-token_scales.html index abaf5c6..f64e58d 100644 --- a/docs/articles/use-token_scales.html +++ b/docs/articles/use-token_scales.html @@ -29,7 +29,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 @@ -98,7 +98,7 @@

Use token scales

Felix Mannhardt

-

2018-11-19

+

2018-11-27

Source: vignettes/use-token_scales.Rmd @@ -119,8 +119,8 @@

mapping = token_aes(color = token_scale("employee", scale = "ordinal", range = RColorBrewer::brewer.pal(8, "Paired")))) -
- +
+

@@ -134,8 +134,8 @@

mapping = token_aes(color = token_scale("amount", scale = "linear", range = c("yellow","red"))))

-
- +
+

@@ -146,8 +146,8 @@

mapping = token_aes(color = token_scale("time", scale = "time", range = c("blue","red"))))

-
- +
+ diff --git a/docs/articles/use-with-shiny.html b/docs/articles/use-with-shiny.html index 3274c40..8e502db 100644 --- a/docs/articles/use-with-shiny.html +++ b/docs/articles/use-with-shiny.html @@ -29,7 +29,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 @@ -91,7 +91,7 @@

Use processanimateR and Shiny

Felix Mannhardt

-

2018-11-19

+

2018-11-27

Source: vignettes/use-with-shiny.Rmd diff --git a/docs/authors.html b/docs/authors.html index 9c6099e..a2a55ab 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -58,7 +58,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/index.html b/docs/index.html index d81894b..2282712 100644 --- a/docs/index.html +++ b/docs/index.html @@ -30,7 +30,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/news/index.html b/docs/news/index.html index ee3405e..71cf4e6 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -58,7 +58,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 @@ -130,14 +130,18 @@

Backwards incompatible changes

New features

diff --git a/docs/reference/activity_select_decoration.html b/docs/reference/activity_select_decoration.html index 84c491d..4b5d849 100644 --- a/docs/reference/activity_select_decoration.html +++ b/docs/reference/activity_select_decoration.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/animate_process.html b/docs/reference/animate_process.html index e8c4b24..9ea0ade 100644 --- a/docs/reference/animate_process.html +++ b/docs/reference/animate_process.html @@ -32,7 +32,8 @@ - + @@ -61,7 +62,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 @@ -128,7 +129,8 @@

Animate cases on a process map

-

A function for creating a SVG animation of an event log on a process map created by process_map from the processmapR package.

+

A function for creating a SVG animation of an event log on a process map created by + process_map from the processmapR package.

diff --git a/docs/reference/attribution_osm.html b/docs/reference/attribution_osm.html index 881de8a..baa76fb 100644 --- a/docs/reference/attribution_osm.html +++ b/docs/reference/attribution_osm.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/example_log.html b/docs/reference/example_log.html index 94439d1..27758f9 100644 --- a/docs/reference/example_log.html +++ b/docs/reference/example_log.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/icon_circle.html b/docs/reference/icon_circle.html index 672b84f..768face 100644 --- a/docs/reference/icon_circle.html +++ b/docs/reference/icon_circle.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/icon_marker.html b/docs/reference/icon_marker.html index 6b4974b..57e7fe1 100644 --- a/docs/reference/icon_marker.html +++ b/docs/reference/icon_marker.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/index.html b/docs/reference/index.html index 831c1de..2fa7706 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -58,7 +58,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/processanimaterOutput.html b/docs/reference/processanimaterOutput.html index 4caace1..c7a38d8 100644 --- a/docs/reference/processanimaterOutput.html +++ b/docs/reference/processanimaterOutput.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/renderProcessanimater.html b/docs/reference/renderProcessanimater.html index 997e826..43f8fd1 100644 --- a/docs/reference/renderProcessanimater.html +++ b/docs/reference/renderProcessanimater.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/renderer_graphviz.html b/docs/reference/renderer_graphviz.html index e1c7876..9b2d534 100644 --- a/docs/reference/renderer_graphviz.html +++ b/docs/reference/renderer_graphviz.html @@ -66,7 +66,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/renderer_leaflet.html b/docs/reference/renderer_leaflet.html index 6ac70a6..f33a899 100644 --- a/docs/reference/renderer_leaflet.html +++ b/docs/reference/renderer_leaflet.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/token_aes.html b/docs/reference/token_aes.html index be435d3..0f2cc93 100644 --- a/docs/reference/token_aes.html +++ b/docs/reference/token_aes.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/token_scale.html b/docs/reference/token_scale.html index d1166b5..be592ee 100644 --- a/docs/reference/token_scale.html +++ b/docs/reference/token_scale.html @@ -62,7 +62,7 @@ processanimateR - 1.0.0.9000 + 1.0.0 diff --git a/docs/reference/token_select_decoration.html b/docs/reference/token_select_decoration.html index fb6bda2..48e1314 100644 --- a/docs/reference/token_select_decoration.html +++ b/docs/reference/token_select_decoration.html @@ -61,7 +61,7 @@ processanimateR - 1.0.0.9000 + 1.0.0