Releases: thomasp85/ggraph
Releases · thomasp85/ggraph
ggraph 2.2.2
ggraph 2.2.1
ggraph 2.2.0
- Fix a precision bug in circle pack layout (#345)
GeomEdgeTile
now usesedge_width
instead ofedge_size
for the border- Fix a bug in
geom_edge_parallel()
when used with edge labels. Edges are now
correctly offset, though label may still overlap (#227) - Fix a bug with auto layout on undirected trees (#247)
- Fix a bug in
get_con()
that would lead to wrong matching of additional data
(#249) - Allow
na.rm
in geoms (#301) - If
check_overlap = TRUE
ingeom_node_text()
the rendering order is
reversed so that the top nodes are rendered, not the bottom ones - Updated guides to the new ggplot2 interface. For
guide_edge_direction()
,
this update adds the option to use labels instead of an arrow using the
labels
argument. create_layout()
now returns a modified tibble rather than a data.frame- The
...
inget_nodes()
,get_edges()
, andget_con()
now accepts
tidy evaluation.get_nodes()
andget_con()
will get evaluated on the node
data in the original order (layouts may reorder nodes), andget_edges()
will
get evaluated on the edge data (#272) - The linear layout has gained a
weight
argument allowing you to set how much
space each node occupy. Further, the layout now calculates statistics so that
it can be used in conjunction withgeom_node_tile()
andgeom_node_arc_bar()
- New layout added. Cactustree is a hierarchical layout optimised for
hierarchical edge bundling by placing nodes as budding circles on the
periphery of their parent (#226) - Updated layout functions from the graphlayouts package to support grouped and
constrained versions (centrality, focus, and stress layouts) - Added H Tree layout for binary trees (#58)
- Added
geom_edge_bundle_force()
,geom_edge_bundle_path()
, and
geom_edge_bundle_minimal()
(+ variants) to provide support for edge bundling
(#267) - Add "metro" layout from graphlayouts for metroline like layouts
- Add
layout_sf()
,geom_node_sf()
andgeom_edge_sf()
to support plotting of
sfnetwork
objects (#275)
ggraph 2.1.0
- Update errors to use cli
- Use vctrs internally
- Add binned edge scales
- Fix a bug where removing the full data with a filter would throw an error
- Make sure all lyaout functions now correctly merge the layout with the node
data without getting duplicate column names - Fixed a bug in the start_cap implementation that would cause edges consisting
of only two points to disappear - Fixed a bug in
facet_graph()
when using.
on either dimension (#313) - Move dendrogram layout calculations to compiled code to avoid R's recursion
stack limitations (#311) - Fixed a bug in the circle pack algorithm that could result in overlapping
circles (#305)
ggraph 2.0.6
- Fix vignette errors on CRAN
ggraph 2.0.5
- Fix deprecation of std::random_shuffle in C++14 by specifyin C++11 as the
compile version
ggraph 2.0.4
- Fix bug in faceting functions where using algorithms based on sampling
directly would result in errors - Move CI to GitHub Actions
- Warn if a precalculated layout is passed to
layout
increate_layout()
(#208) - Warn when setting
dim
to a value higher than 2 in igraph layouts (#160) - Fix bug when trying to plot a graph with no edges (#214)
- Fix a bug in edge geoms due to a typo (#246)
- Fix a bug in edge geoms where setting
label_colour
toNA
would turn it off
instead of inheriting the colour of the edge (#238) - Fix a bug in edge geoms that prevented edge labels from being parsed as
expressions (#245) - Improve performance of dendrogram layout when calculating depth (#248)
- Fix a bug in hive layout when segmenting by a factor with unused levels (#252)
- Fix a bug in capping of path due to updates in grid. Setting cap unit to
native
now works as expected again (#254) - Fix a bug in
get_con()
that would require input to be sorted in thefrom
vector (#258)
ggraph 2.0.3
- Fix bug in
geom_edge_elbow()
that resulted in duplicatedgroup
columns in
the data.
ggraph 2.0.2
- Remove reshape2 dependency
ggraph 2.0.1
- Fix bug in ggraph that will surface with the next grid release
- Deprecate
qgraph()
in favour ofautograph()
to avoid name collision with
qgraph::qgraph()
.autograph()
is now also a generic with a default method,
so you can provide your own specific ggraph plot method for your network
classes