ggforce 0.5.0
CRAN release: 2025-06-18
- Fixed a bug that would cause reordering of data in some geoms (#314)
- The concaveman package is no longer a dependency for
geom_mark_hull()(#308) - Setting both label and description to
NAwill now turn off label drawing for that mark completely while still drawing the mark - Fix a bug in
geom_mark_rect()where the mark would not be shown in all panels (#307) - Fixed a bug in the
geom_mark_*()geoms where havingNAvalues in thefilteraesthetic would lead to weird errors.NAis now treated asFALSE(#306) -
shapeGrob()is now exported for use by other packages (#303) - Fix a bug in
geom_autohistogram()that prevented it to be used with continuous data (#297) -
facet_zoom()now throws a better error when used withcoord_flip()(#143) - You can now use
"inherit","inherit_fill", and"inherit_col"for the styling of the label box and connector in thegeom_mark_*()family of geoms (#240) - Prepare for upcoming changes in ggplot2
ggforce 0.4.1
CRAN release: 2022-10-04
- Fixed a sanitizer error in the decent calculations used for the mark geoms
- Fixed a typo bug in the vctrs implementations
ggforce 0.4.0
CRAN release: 2022-09-29
- Moved to vctrs internally
- Updated error messaging to use cli
-
geom_diagonal(),geom_diagonal_wide(),geom_parallel_sets(), andgeom_sina()are now bidirectional in the style of ggplot2 -
geom_mark_*()now works correctly in the presence ofNAvalues inxandy - The
zoom,zoom.x, andzoom.yelements now uses proper registration of theme elements, inheriting fromstrip.background. - Fixed bug in
geom_sina()when groups contained less than 3 points - Fixed bug in
geom_parallel_sets()that erroneously removed grouping information in some configurations - Added
jitter_yargument togeom_sina()to control whether y jittering is performed on integerish y values. -
facet_zoom()now works with patchwork - Fix bug in
geom_mark_ellipse()that caused wrong orientation of ellipses with groups of two. -
gather_set_data()now supports tidyselect. -
position_jitternormal()gains aseedargument in parallel toggplot2::position_jitter() -
geom_sina()now works when the group only have a single unique y value -
facet_zoom()now works correctly with transformed scales -
facet_wrap_paginate()now works correctly withdir = 'v' -
facet_matrix()now supports a labeller - fix a bug in
geom_parallel_sets_axes()that prevented coloring of axis fill - fix a bug in
stat_circle()if thexandyaesthetics were inherited from the global mapping -
facet_zoom()now works even when limits are set by the scales
ggforce 0.3.4
CRAN release: 2022-08-18
- Changed documentation to comply with new units package
- Fixed unintentional re-ordering of shapes (#224)
- Deprecate
scale_[x|y]_unitin favor ofunits::scale_[x|y]_units
ggforce 0.3.2
CRAN release: 2020-06-23
- Changes to comply with latest ggplot2 release
- Make sure ggforce pass test even if concaveman is not available
ggforce 0.3.0
CRAN release: 2019-08-09
- Added
facet_matrix()in order to facet different data columns into different rows and columns in a grid, in order to make e.g. scatterplot matrices and pairs plot - Added
geom_autopoint()andposition_auto()to jitter points based on the type of positional scales in the panel - Added
geom_autohistogram()andgeom_autodensity()for facilitating distribution plots along the diagonal in afacet_matrix()plot. - Added
facet_row()andfacet_colto have one-dimensionalfacet_wrap()with possibility of variable sizing. - Stats should now always keep the old group variable (potentially with something added), making them work with gganimate
- Removed the Visual Guide vignette to reduce compilation time. See the website for an overview of all functionality with compiled examples (https://ggforce.data-imaginist.com)
ggforce 0.2.2
CRAN release: 2019-04-23
- Fixed a regression in
geom_sina()where the computation would fail with a warning due totolower()being masked (#134, #135).
ggforce 0.2.1
CRAN release: 2019-03-12
- Fixed a bug in the calculation of open and closed b-splines, where the interval would exceed the defined region and result in an out-of-bounds memory error
ggforce 0.2.0
CRAN release: 2019-03-07
New features
-
linear_transfor composing linear transformation usingrotate,stretch,shear,reflect, andtranslate -
facet_stereoadded for creating stereographic projections -
geom_voronoi_[tile|segment],geom_delaunay_[tile|segment|segment2], andstat_delvor_summaryhas been added for tesselation and triangulation. -
geom_spirohas been added for drawing spirographs - Add
geom_ellipsefor drawing regular and superellipses - Add
geom_regonfor drawing regular polygons - Add
geom_diagonal,geom_diagonal_wideandgeom_parallel_setsfor drawing parallel sets diagrams and other visualizations based on diagonals. - Add
geom_shapefor drawing polygons with rounded corners and expanded/contracted sides.geom_shapereplaces allgeom_polygoninternally. - Added
geom_bspline_closedto draw polygons defined as b-splines - Add
geom_mark_[rect|circle|ellipse|hull]to encircle a group of points and optionally add textual annotation to it - Add
position_jitternormalto jitter points based on a normal distribution
Improvements
-
facet_[wrap|grid]_paginatewill now try to make panels on the last page the same size as on full pages (#7) -
facet_zoomnow gainsxlimandylimarguments to control zoom range directly -
facet_zoomnow gainszoom.datato control which data gets plotted in which panel - Slimmed down the dependencies for the package.
plyr,lazyevalanddplyrhas all been removed - Rewrite
geom_sinato matchgeom_violinand allow for dodging - Add
open/clampedoption to `geom_bspline
Bug fixes
- Fix interpolation of
xandyvalues ingeom_link2(@thomasp85 and -
stat_linkno longer replicates the group column - arcs and links no longer rename aesthetics when only one aesthetic is present (
drop = FALSE) -
stat_bezier0andstat_bezier2now return data in the expected format - Fix bug with
n_pagesdue to internal changes in ggplot2 - Fix bug in
facet_zoomin combination with secondary y-axis where the space for the y-axis would become huge - Correctly detect and error out when scales and coords does not work with
facet_zoom - The *2 versions of line geoms no longer adds an
NAto guides.
ggforce 0.1.1
CRAN release: 2016-11-28
New features
- Zoom indicator styling can now be specified separetely for x and y zoom using
zoom.xandzoom.yin theme (inherits fromzoomthat inherits fromstrip.background)
Bug fixes
- Fix bug in
facet_wrap_paginatethat threw errors when using it with free scales (#19) - Fixes bug in
facet_zoomwhere y-axis would be incorrectly displayed when zooming on both axes without splitting the view (#23) - Fixes bug in
facet_zoomwhere scale expansion where not taken into account when drawing the indicator area (#22) - Fixes a bug in
facet_zoomthat would throw errors with layers not containing the column that is zoomed by (#21)
ggforce 0.1.0
CRAN release: 2016-11-22
Major changes
-
geom_edge_bundlehas been renamedgeom_bsplineand lost the tension argument. True edge bundle functionality has been moved toggraph
New features
-
geom_bezierfor drawing quadratic and cubic beziers -
geom_linkfor augmented segment/path drawing -
geom_sinaas an alternative togeom_violinandgeom_beeswarm -
scale_[x|y]_unitfor using units vectors -
facet_[wrap|grid]_paginateto split facetting into multiple pages -
facet_zoomfor contextual zooming
ggforce 0.0.1
New features
-
geom_arc/stat_arcfor drawing circle segments -
geom_edge_bundle/stat_edge_bundlefor drawing edge bundles based on control points -
geom_arc_bar/stat_arc_bar/stat_piefor drawing arcs and wedges with fill -
geom_circle/stat_circlefor drawing circles with radius based on coordinate system scale -
power_transfor creating power transformations -
radial_transfor creating transformation between radial and cartesian coordinates -
trans_reverserfor reversing a trans object