# An Implementation of Grammar of Graphics for Graphs and Networks

## Documentation for package ‘ggraph’ version 2.2.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A C E F G H I L N P R S T U W

## -- A --

autograph | Quickplot wrapper for networks
autograph.default | Quickplot wrapper for networks

## -- C --

circle | Define simple shapes for line capping
create_layout | Create a ggraph plot
create_layout.default | Create a ggraph plot
create_layout.layout_ggraph | Create a ggraph plot
create_layout.tbl_graph | Create a ggraph plot

## -- E --

edge_angle | Get the angle of nodes and edges
ellipsis | Define simple shapes for line capping

## -- F --

facet_edges | Create small multiples based on edge attributes
facet_graph | Create a grid of small multiples by node and/or edge attributes
facet_nodes | Create small multiples based on node attributes
flare | The class hierarchy of the flare visualization library

## -- G --

geometry | Define simple shapes for line capping
geom_axis_hive | Draw rectangular bars and labels on hive axes
geom_conn_bundle | Create hierarchical edge bundles between node connections
geom_conn_bundle0 | Create hierarchical edge bundles between node connections
geom_conn_bundle2 | Create hierarchical edge bundles between node connections
geom_edge_arc | Draw edges as Arcs
geom_edge_arc0 | Draw edges as Arcs
geom_edge_arc2 | Draw edges as Arcs
geom_edge_bend | Draw edges as diagonals
geom_edge_bend0 | Draw edges as diagonals
geom_edge_bend2 | Draw edges as diagonals
geom_edge_bundle_force | Bundle edges using force directed edge bundling
geom_edge_bundle_force0 | Bundle edges using force directed edge bundling
geom_edge_bundle_force2 | Bundle edges using force directed edge bundling
geom_edge_bundle_minimal | Bundle edges along the minimal spanning tree
geom_edge_bundle_minimal0 | Bundle edges along the minimal spanning tree
geom_edge_bundle_minimal2 | Bundle edges along the minimal spanning tree
geom_edge_bundle_path | Bundle edges using edge path bundling
geom_edge_bundle_path0 | Bundle edges using edge path bundling
geom_edge_bundle_path2 | Bundle edges using edge path bundling
geom_edge_density | Show edges as a density map
geom_edge_diagonal | Draw edges as diagonals
geom_edge_diagonal0 | Draw edges as diagonals
geom_edge_diagonal2 | Draw edges as diagonals
geom_edge_elbow | Draw edges as elbows
geom_edge_elbow0 | Draw edges as elbows
geom_edge_elbow2 | Draw edges as elbows
geom_edge_fan | Draw edges as curves of different curvature
geom_edge_fan0 | Draw edges as curves of different curvature
geom_edge_fan2 | Draw edges as curves of different curvature
geom_edge_hive | Draw edges in hive plots
geom_edge_hive0 | Draw edges in hive plots
geom_edge_hive2 | Draw edges in hive plots
geom_edge_link | Draw edges as straight lines between nodes
geom_edge_link0 | Draw edges as straight lines between nodes
geom_edge_link2 | Draw edges as straight lines between nodes
geom_edge_loop | Draw edges as diagonals
geom_edge_loop0 | Draw edges as diagonals
geom_edge_parallel | Draw multi edges as parallel lines
geom_edge_parallel0 | Draw multi edges as parallel lines
geom_edge_parallel2 | Draw multi edges as parallel lines
geom_edge_point | Draw edges as glyphs
geom_edge_sf | Draw edges as LINESTRINGs in geographical space
geom_edge_span | Draw edges as vertical spans
geom_edge_span0 | Draw edges as vertical spans
geom_edge_span2 | Draw edges as vertical spans
geom_edge_tile | Draw edges as glyphs
geom_node_arc_bar | Show nodes as thick arcs
geom_node_circle | Show nodes as circles
geom_node_label | Annotate nodes with text
geom_node_point | Show nodes as points
geom_node_range | Show nodes as a line spanning a horizontal range
geom_node_sf | Show nodes as POINTs in geographical space
geom_node_text | Annotate nodes with text
geom_node_tile | Draw the rectangles in a treemap
geom_node_voronoi | Show nodes as voronoi tiles
get_con | Create a connection extractor function
get_edges | Create edge extractor function
get_nodes | Create a node extractor function
get_sf_edges | Create edge extractor function
get_sf_nodes | Create a node extractor function
ggraph | Create a ggraph plot
guide_edge_colorbar | Colourbar legend for edges
guide_edge_colorsteps | Coloursteps legend for edges
guide_edge_colourbar | Colourbar legend for edges
guide_edge_coloursteps | Coloursteps legend for edges
guide_edge_direction | Edge direction guide

## -- H --

highschool | Friendship among high school boys

## -- I --

is.geometry | Define simple shapes for line capping

## -- L --

label_rect | Define simple shapes for line capping
layout_ggraph | Create a ggraph plot
layout_tbl_graph | Create a ggraph plot
layout_tbl_graph_auto | Automatically pick a layout based on graph type
layout_tbl_graph_backbone | Place node to emphasize group structure
layout_tbl_graph_cactustree | Calculate nodes as fractal circle buds
layout_tbl_graph_centrality | Place nodes in circles according to centrality measure
layout_tbl_graph_circlepack | Calculate nodes as circles packed within their parent circle
layout_tbl_graph_dendrogram | Apply a dendrogram layout to layout_tbl_graph
layout_tbl_graph_eigen | Place nodes according to their eigenvalues
layout_tbl_graph_fabric | Create a fabric layout
layout_tbl_graph_focus | Place nodes in circles based on distance to a specific node
layout_tbl_graph_hive | Place nodes in a Hive Plot layout
layout_tbl_graph_htree | Layout binary trees in a fractal H formation
layout_tbl_graph_igraph | Use igraph layout algorithms for layout_tbl_graph
layout_tbl_graph_linear | Place nodes on a line or circle
layout_tbl_graph_manual | Manually specify a layout for layout_tbl_graph
layout_tbl_graph_matrix | Place nodes on a diagonal
layout_tbl_graph_metro | Place nodes according to the standard design of metro maps
layout_tbl_graph_partition | Calculate nodes as areas dividing their parent
layout_tbl_graph_pmds | Place nodes based on a multidimensional scaling of a set of pivot nodes
layout_tbl_graph_sf | Place nodes on their geographical space
layout_tbl_graph_sparse_stress | Place nodes using stress majorisation
layout_tbl_graph_stress | Place nodes using stress majorisation
layout_tbl_graph_treemap | Calculate nodes as rectangles subdividing that of their parent
layout_tbl_graph_unrooted | Create an unrooted layout using equal-angle or equal-daylight

## -- N --

node_angle | Get the angle of nodes and edges
node_rank_fabric | Create a fabric layout

## -- P --

pack_circles | Pack circles together

## -- R --

rectangle | Define simple shapes for line capping

## -- S --

scale_edge_alpha | Edge alpha scales
scale_edge_alpha_binned | Edge alpha scales
scale_edge_alpha_continuous | Edge alpha scales
scale_edge_alpha_discrete | Edge alpha scales
scale_edge_alpha_identity | Edge alpha scales
scale_edge_alpha_manual | Edge alpha scales
scale_edge_color_binned | Edge colour scales
scale_edge_color_brewer | Edge colour scales
scale_edge_color_continuous | Edge colour scales
scale_edge_color_discrete | Edge colour scales
scale_edge_color_distiller | Edge colour scales
scale_edge_color_fermenter | Edge colour scales
scale_edge_color_gradient | Edge colour scales
scale_edge_color_gradient2 | Edge colour scales
scale_edge_color_gradientn | Edge colour scales
scale_edge_color_grey | Edge colour scales
scale_edge_color_hue | Edge colour scales
scale_edge_color_identity | Edge colour scales
scale_edge_color_manual | Edge colour scales
scale_edge_color_steps | Edge colour scales
scale_edge_color_steps2 | Edge colour scales
scale_edge_color_stepsn | Edge colour scales
scale_edge_color_viridis | Edge colour scales
scale_edge_colour | Edge colour scales
scale_edge_colour_binned | Edge colour scales
scale_edge_colour_brewer | Edge colour scales
scale_edge_colour_continuous | Edge colour scales
scale_edge_colour_discrete | Edge colour scales
scale_edge_colour_distiller | Edge colour scales
scale_edge_colour_fermenter | Edge colour scales
scale_edge_colour_gradient | Edge colour scales
scale_edge_colour_gradient2 | Edge colour scales
scale_edge_colour_gradientn | Edge colour scales
scale_edge_colour_grey | Edge colour scales
scale_edge_colour_hue | Edge colour scales
scale_edge_colour_identity | Edge colour scales
scale_edge_colour_manual | Edge colour scales
scale_edge_colour_steps | Edge colour scales
scale_edge_colour_steps2 | Edge colour scales
scale_edge_colour_stepsn | Edge colour scales
scale_edge_colour_viridis | Edge colour scales
scale_edge_fill | Edge fill scales
scale_edge_fill_binned | Edge fill scales
scale_edge_fill_brewer | Edge fill scales
scale_edge_fill_continuous | Edge fill scales
scale_edge_fill_discrete | Edge fill scales
scale_edge_fill_distiller | Edge fill scales
scale_edge_fill_fermenter | Edge fill scales
scale_edge_fill_gradient | Edge fill scales
scale_edge_fill_gradient2 | Edge fill scales
scale_edge_fill_gradientn | Edge fill scales
scale_edge_fill_grey | Edge fill scales
scale_edge_fill_hue | Edge fill scales
scale_edge_fill_identity | Edge fill scales
scale_edge_fill_manual | Edge fill scales
scale_edge_fill_steps | Edge fill scales
scale_edge_fill_steps2 | Edge fill scales
scale_edge_fill_stepsn | Edge fill scales
scale_edge_fill_viridis | Edge fill scales
scale_edge_linetype | Edge linetype scales
scale_edge_linetype_binned | Edge linetype scales
scale_edge_linetype_continuous | Edge linetype scales
scale_edge_linetype_discrete | Edge linetype scales
scale_edge_linetype_identity | Edge linetype scales
scale_edge_linetype_manual | Edge linetype scales
scale_edge_radius | Edge size scales
scale_edge_shape | Edge shape scales
scale_edge_shape_binned | Edge shape scales
scale_edge_shape_continuous | Edge shape scales
scale_edge_shape_discrete | Edge shape scales
scale_edge_shape_identity | Edge shape scales
scale_edge_shape_manual | Edge shape scales
scale_edge_size | Edge size scales
scale_edge_size_area | Edge size scales
scale_edge_size_binned | Edge size scales
scale_edge_size_binned_area | Edge size scales
scale_edge_size_continuous | Edge size scales
scale_edge_size_discrete | Edge size scales
scale_edge_size_identity | Edge size scales
scale_edge_size_manual | Edge size scales
scale_edge_width | Edge width scales
scale_edge_width_binned | Edge width scales
scale_edge_width_continuous | Edge width scales
scale_edge_width_discrete | Edge width scales
scale_edge_width_identity | Edge width scales
scale_edge_width_manual | Edge width scales
scale_label_size | Edge label size scales
scale_label_size_binned | Edge label size scales
scale_label_size_continuous | Edge label size scales
scale_label_size_discrete | Edge label size scales
scale_label_size_identity | Edge label size scales
scale_label_size_manual | Edge label size scales
set_graph_style | A theme tuned for graph visualizations
square | Define simple shapes for line capping

## -- T --

theme_graph | A theme tuned for graph visualizations
th_foreground | A theme tuned for graph visualizations
th_no_axes | A theme tuned for graph visualizations

## -- U --

unset_graph_style | A theme tuned for graph visualizations

## -- W --

whigs | Membership network of American Whigs