ggraph v1.0.2


Monthly downloads



An Implementation of Grammar of Graphics for Graphs and Networks

The grammar of graphics as implemented in ggplot2 is a poor fit for graph and network visualizations due to its reliance on tabular data input. ggraph is an extension of the ggplot2 API tailored to graph visualizations and provides the same flexible approach to building up plots layer by layer.

Functions in ggraph

Name Description
geom_node_arc_bar Show nodes as circles
scale_edge_alpha Edge alpha scales
ggraph-package ggraph: Grammar of Graph Graphics
layout_igraph_auto Use igraph layout algorithms for layout_igraph
layout_igraph_linear Place nodes on a line or circle
layout_igraph_hive Place nodes in a Hive Plot layout
pack_circles Pack circles together
layout_igraph_manual Manually specify a layout for layout_igraph
scale_edge_fill Edge fill scales
ggraph Create a ggraph plot
reexports Objects exported from other packages
internal_extractors Internal data extractors
scale_edge_width Edge width scales
scale_label_size Edge label size scales
scale_edge_linetype Edge linetype scales
network_to_igraph Coerce network to igraph
guide_train.edge_colourbar Helper methods for guides
StatFilter ggraph extensions to ggplot2
scale_edge_colour Edge colour scales
highschool Friendship among high school boys
get_con Create a connection extractor function
layout_dendrogram_auto Dendrogram layout for layout_dendrogram
layout_dendrogram_even Even layout for layout_dendrogram
geom_edge_elbow Draw edges as elbows
node_angle Get the angle of nodes and edges
geometry Define simple shapes for line capping
guide_edge_colourbar Colourbar legend for edges
geom_edge_fan Draw edges as curves of different curvature
guide_edge_direction Edge direction guide
makeContent.cappedpathgrob Dynamic capping of paths
layout_igraph_circlepack Calculate nodes as circles packed within their parent circle
theme_graph A theme tuned for graph visualizations
layout_igraph_dendrogram Apply a dendrogram layout to layout_igraph
scale_edge_shape Edge shape scales
scale_edge_size Edge size scales
scale_type.geometry Define default scale type for geometry
layout_igraph_partition Calculate nodes as areas dividing their parent
layout_igraph_treemap Calculate nodes as rectangels subdividing that of their parent
makeContent.textalong Text angeled acording to line
tree_apply Apply a function recursively to a tree
whigs Membership network of American Whigs
facet_graph Create a grid of small multiples by node and/or edge attributes
geom_edge_density Show edges as a density map
geom_axis_hive Draw rectangular bars and labels on hive axes
geom_conn_bundle Create heirarchical edge bundles between node connections
facet_nodes Create small multiples based on node attributes
facet_edges Create small multiples based on edge attributes
geom_edge_arc Draw edges as Arcs
den_to_igraph Convert a dendrogram into an igraph object
geom_edge_diagonal Draw edges as diagonals
flare The class hierarchy of the flare visualization library
geom_node_point Show nodes as points
geom_node_circle Show nodes as circles
geom_edge_hive Draw edges in hive plots
geom_node_text Annotate nodes with text
geom_edge_loop Draw edges as diagonals
geom_node_tile Draw the rectangles in a treemap
geom_edge_link Draw edges as straight lines between nodes
get_edges Create edge extractor function
get_nodes Create a node extractor function
No Results!

Vignettes of ggraph

No Results!

Last month downloads


Type Package
Date 2018-07-07
License GPL-3
LazyData TRUE
Encoding UTF-8
LinkingTo Rcpp
VignetteBuilder knitr
NeedsCompilation yes
Packaged 2018-07-07 17:40:12 UTC; thomas
Repository CRAN
Date/Publication 2018-07-07 21:20:03 UTC

Include our badge in your README