rich-iannone / DiagrammeR
Showing 2 of 4 files from the diff.
Newly tracked file
R/mermaid.R changed.
Newly tracked file
R/render_graph.R changed.
Other files ignored by Codecov
man/mermaid.Rd has changed.

@@ -19,7 +19,6 @@
Loading
19 19
#'   Markdown documents, and within Shiny output bindings.
20 20
#'
21 21
#' @examples
22 -
#' \donttest{
23 22
#' # Create a simple graph running left to right (note
24 23
#' # that the whitespace is not important)
25 24
#' # DiagrammeR("
@@ -117,7 +116,6 @@
Loading
117 116
#' #      ticket seller->>customer: sorry;
118 117
#' #    end
119 118
#' # ")
120 -
#' }
121 119
#'
122 120
#' @import htmlwidgets
123 121
#' @export

@@ -16,7 +16,8 @@
Loading
16 16
#' @param height An optional parameter for specifying the height of the
17 17
#'   resulting graphic in pixels.
18 18
#' @examples
19 -
#' \donttest{
19 +
#' if (interactive()) {
20 +
#'
20 21
#' # Render a graph that's a
21 22
#' # balanced tree
22 23
#' create_graph() %>%
@@ -58,8 +59,8 @@
Loading
58 59
#'     output = "visNetwork")
59 60
#' }
60 61
#'
61 -
#' @import glue glue
62 62
#' @family Display and Save
63 +
#'
63 64
#' @export
64 65
render_graph <- function(graph,
65 66
                         layout = NULL,
Files Coverage
R 81.03%
Project Totals (241 files) 81.03%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading