Changelog
Source:NEWS.md
flowchart 0.2.0
CRAN release: 2024-04-09
Major changes
Added new
N=
argument in functionsas_fc()
,fc_filter()
andfc_split()
to enter the number of rows manually in case that a dataframe is not available.New
fc_export()
function to export a flowchart in the desired format.Solved bug when performing a split. Now the x-coordinates of the resulting boxes are placed symmetrically around the parent box, not homogeneously distributed across all the space.
Minor changes
Added
round_digits=
argument tofc_filter()
andfc_split()
functions, which allows to change the number of decimals to round percentages.Added
show_zero=
argument tofc_split()
, which allows to control whether the groups with zero events should be shown in a box or not.Updated description with minimum R version (>= 4.1.0).
flowchart 0.3.0
CRAN release: 2024-05-10
Major changes
Bug in the
fc_split()
function when splitting by a factor with levels that are not arranged in alphabetical order.Bug in the
fc_split()
function when performing multiple splits and showing percentages. These percentages were calculated based on the total number of rows, not the total number of rows in each of the groups defined by the previous splits.
flowchart 0.4.0
CRAN release: 2024-05-29
Minor changes
Changed
safo
built-in datasetNow
unite=FALSE
is the default in thefc_stack()
functionAdded
bmp
format to thefc_export()
function
flowchart 0.5.0
CRAN release: 2024-09-26
Major changes
New arguments
text_fface
,text_ffamily
andtext_padding
to change the font face, font family and padding of the text inside the boxNew argument
perc_total
to calculate percentages with respect to the total number of rowsNew argument
offset
to add space to the distance between boxes in a split, andoffset_exc
to add space to the distance from the exclude box in a filterNew function
fc_view()
to view the$fc
element or the$data
element, associated to a flowchartNew argument
title
in thefc_draw()
function to add a title to a flowchart, along with some additional arguments to customize itNew argument
title
in thefc_split()
function to add a title box in a split, together with some additional arguments to customize itBug in the exclusion box out of margins
Minor changes
Added minimum version for dplyr (>= 1.1.0)
Bug in the
fc_export()
function when using theformat
argumentReplaced evaluations to tidy evaluations using
rlang::eval_tidy()
flowchart 0.6.0
CRAN release: 2024-11-08
Added
box_corners
argument tofc_draw()
to allow drawing boxes with or without round corners; default set to"round"
to avoid breaking changes (#2; @kenkomodo)Updated
fc_export()
to include vector formats (svg, pdf) and to useragg
in place ofgrDevices
for relevant bitmap formats (png, jpeg, tiff) for improved performance and image quality whenragg
is installed (#16; @kenkomodo)Methods for S3 class
fc
correctly definedBug in the
hide = TRUE
option inas_fc()
Bug when specifying
sel_group
andN
at the same time infc_split()
Bug when specifying
title
infc_split()
with a number of splits different than two
flowchart 0.6.0.9000 (development)
Solved
bug
whensel_group
is used repeatedly in the same flowchartChanged y-coordinate distribution of boxes when using
fc_stack()
withunite = TRUE
When performing multiple splits in a flowchart, the group label is stored in
$fc
concatenating the values of the different groups separated by ‘//’.