Skip to content

Releases: thomasp85/ggraph

ggraph 2.2.2

25 Aug 06:33
Compare
Choose a tag to compare
  • Fixed a bug in the collapse functionality of get_edges() (#362)
  • General upkeep and compatibility with ggplot2 v4.0.0

ggraph 2.2.1

07 Mar 12:45
5045ca3
Compare
Choose a tag to compare
  • Rolling back use of native pipe (#364 and #365)

ggraph 2.2.0

28 Feb 07:09
Compare
Choose a tag to compare
  • Fix a precision bug in circle pack layout (#345)
  • GeomEdgeTile now uses edge_width instead of edge_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 in geom_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 ... in get_nodes(), get_edges(), and get_con() now accepts
    tidy evaluation. get_nodes() and get_con() will get evaluated on the node
    data in the original order (layouts may reorder nodes), and get_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 with geom_node_tile() and geom_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() and geom_edge_sf() to support plotting of
    sfnetwork objects (#275)

ggraph 2.1.0

10 Oct 06:31
Compare
Choose a tag to compare
  • 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

08 Aug 11:34
Compare
Choose a tag to compare
  • Fix vignette errors on CRAN

ggraph 2.0.5

23 Feb 12:17
7c8a4d5
Compare
Choose a tag to compare
  • Fix deprecation of std::random_shuffle in C++14 by specifyin C++11 as the
    compile version

ggraph 2.0.4

16 Nov 09:04
8527bee
Compare
Choose a tag to compare
  • 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 in create_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 to NA 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 the from
    vector (#258)

ggraph 2.0.3

12 Nov 11:33
Compare
Choose a tag to compare
  • Fix bug in geom_edge_elbow() that resulted in duplicated group columns in
    the data.

ggraph 2.0.2

17 Mar 22:04
3f4f99d
Compare
Choose a tag to compare
  • Remove reshape2 dependency

ggraph 2.0.1

07 Feb 13:01
Compare
Choose a tag to compare
  • Fix bug in ggraph that will surface with the next grid release
  • Deprecate qgraph() in favour of autograph() 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