R: An Implementation of Grammar of Graphics for Graphs and Networks

# An Implementation of Grammar of Graphics for Graphs and Networks

## Documentation for package ‘ggraph’ version 1.0.0

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

## Help Pages

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

ggraph-package | ggraph: Grammar of Graph Graphics

## -- C --

circle | Define simple shapes for line capping
createLayout | Create a ggraph plot
create_layout | Create a ggraph plot
create_layout.default | Create a ggraph plot
create_layout.dendrogram | Create a ggraph plot
create_layout.hclust | Create a ggraph plot
create_layout.igraph | Create a ggraph plot
create_layout.network | Create a ggraph plot

## -- D --

den_to_igraph | Convert a dendrogram into an igraph object

## -- E --

eAngle | Get the angle of nodes and edges
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 --

gCon | Create a connection extractor function
gEdges | Create edge extractor function
geometry | Define simple shapes for line capping
geom_axis_hive | Draw rectangular bars and labels on hive axes
geom_conn_bundle | Create heirarchical edge bundles between node connections
geom_conn_bundle0 | Create heirarchical edge bundles between node connections
geom_conn_bundle2 | Create heirarchical 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_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_node_arc_bar | Show nodes as circles
geom_node_circle | Show nodes as circles
geom_node_label | Annotate nodes with text
geom_node_point | Show nodes as points
geom_node_text | Annotate nodes with text
geom_node_tile | Draw the rectangles in a treemap
geom_node_treemap | Draw the rectangles in a treemap
geom_treemap | Draw the rectangles in a treemap
get_con | Create a connection extractor function
get_edges | Create edge extractor function
get_nodes | Create a node extractor function
ggraph | Create a ggraph plot
guide_edge_colorbar | Colourbar legend for edges
guide_edge_colourbar | Colourbar 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_dendrogram | Create a ggraph plot
layout_dendrogram_auto | Dendrogram layout for layout_dendrogram
layout_dendrogram_dendrogram | Dendrogram layout for layout_dendrogram
layout_dendrogram_even | Even layout for layout_dendrogram
layout_ggraph | Create a ggraph plot
layout_hclust | Create a ggraph plot
layout_igraph | Create a ggraph plot
layout_igraph_auto | Use igraph layout algorithms for layout_igraph
layout_igraph_circlepack | Calculate nodes as circles packed within their parent circle
layout_igraph_dendrogram | Apply a dendrogram layout to layout_igraph
layout_igraph_hive | Place nodes in a Hive Plot layout
layout_igraph_igraph | Use igraph layout algorithms for layout_igraph
layout_igraph_linear | Place nodes on a line or circle
layout_igraph_manual | Manually specify a layout for layout_igraph
layout_igraph_partition | Calculate nodes as areas dividing their parent
layout_igraph_treemap | Calculate nodes as rectangels subdividing that of their parent
layout_network | Create a ggraph plot

## -- N --

nAngle | Get the angle of nodes and edges
network_to_igraph | Coerce network to igraph
node_angle | Get the angle of nodes and edges

## -- P --

pack_circles | Pack circles together

## -- R --

rectangle | Define simple shapes for line capping

## -- S --

scale_edge_alpha | 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_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_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_viridis | Edge colour scales
scale_edge_colour | 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_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_viridis | Edge colour scales
scale_edge_fill | 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_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_viridis | Edge fill scales
scale_edge_linetype | 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_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_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_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_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
treeApply | Apply a function recursively to a tree
tree_apply | Apply a function recursively to a tree
tree_apply.default | Apply a function recursively to a tree
tree_apply.dendrogram | Apply a function recursively to a tree
tree_apply.igraph | Apply a function recursively to a tree

## -- U --

unset_graph_style | A theme tuned for graph visualizations

## -- W --

whigs | Membership network of American Whigs