The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
ob_segment now defaults to black when no color is
specified (or inherited) unless color = NA is set
explicitly. Objects derived from segments, such as
@midpoint(), therefore carry
color = "black".connect color now comes from the from
object. Previously the to object’s color overrode it.ob_path@segment no longer carries arrowheads or fins,
and each segment keeps the style of its own path.ob_segment,
ob_path, ob_bezier, and ob_arc
gain a gradient property: a vector of 2 or more colors (or
a list of such vectors, one per object) that makes a smooth gradient
from the arrow’s fins to its head. Gradients are drawn as grid gradient
fills, so they require a graphics device that supports them (e.g., ragg,
svg, or pdf). For paths, beziers, and arcs, the gradient follows a
straight line from start to end, not the curve.geom_arrow_segment_gradient() and
geom_arrow_gradient() apply the gradients in ordinary
ggplot2 code (ggarrow does not accept gradient colors). The approach was
inspired by ggforce::geom_link() and its color gradients
along segments, by Thomas Lin Pedersen, the author of ggforce.space
argument of the gradient geoms, or
options(ggdiagram.gradient_space = ...), to choose
"oklab", "oklch", "lab",
"lch", or "rgb".connect now uses a color gradient by default when the
from and to objects have different colors. An
object’s color is its color, or its fill if
color is NA, or black if both are
NA. If the two colors are identical, no gradient is used
and the connector has that color. Specifying color,
gradient, or a style with a color overrides this
behavior.ob_style and ob_segment gain
distort (a ggarrow distortion, e.g.,
"sinewave") and force_arrow (draw the
arrowhead even if the segment is too short). ob_path gains
force_arrow.ob_latex() now calls xelatex correctly
when TinyTeX is not installed (the old system2() call was
malformed). It also runs in non-stop mode so a LaTeX error can’t hang
the R session.round_probability so that NA
does not throw an error when digits are specified.R/generics.R and helper functions to
R/helpers.R.cph) role to the maintainer in
DESCRIPTION.|| instead of
| in scalar conditions, leading zeros on decimals).%||%).ob_angle objects (i.e., degree,
radian, and turn) gain an
@upright slot useful for preventing angled text from being
upside down.ob_reuleaux and ob_ngon gain additional
function slots similar to those of ob_circle.ob_segment, ob_bezier, and
connect can set label positions with equal x and y
coordinates via the @set_label_x and
@set_label_y property functions.map2_ob function to map over 2 ggdiagram
objectsrescale function to resize ggdiagram objectsob_intercept a special case of
ob_ngon.@segments to
@segment for the sake of consistency.class_colorob_ellipseclass_color@tangent_at for ellipses when given a pointThese binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.