Package: ggraph 2.2.1.9000
ggraph: 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.
Authors:
ggraph_2.2.1.9000.tar.gz
ggraph_2.2.1.9000.zip(r-4.5)ggraph_2.2.1.9000.zip(r-4.4)ggraph_2.2.1.9000.zip(r-4.3)
ggraph_2.2.1.9000.tgz(r-4.4-x86_64)ggraph_2.2.1.9000.tgz(r-4.4-arm64)ggraph_2.2.1.9000.tgz(r-4.3-x86_64)ggraph_2.2.1.9000.tgz(r-4.3-arm64)
ggraph_2.2.1.9000.tar.gz(r-4.5-noble)ggraph_2.2.1.9000.tar.gz(r-4.4-noble)
ggraph_2.2.1.9000.tgz(r-4.4-emscripten)ggraph_2.2.1.9000.tgz(r-4.3-emscripten)
ggraph.pdf |ggraph.html✨
ggraph/json (API)
NEWS
# Install 'ggraph' in R: |
install.packages('ggraph', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/thomasp85/ggraph/issues
- flare - The class hierarchy of the flare visualization library
- highschool - Friendship among high school boys
- whigs - Membership network of American Whigs
ggplot-extensionggplot2graph-visualizationnetwork-visualizationvisualization
Last updated 9 months agofrom:9a0bfb1234. Checks:OK: 1 NOTE: 8. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 02 2024 |
R-4.5-win-x86_64 | NOTE | Nov 02 2024 |
R-4.5-linux-x86_64 | NOTE | Nov 02 2024 |
R-4.4-win-x86_64 | NOTE | Nov 02 2024 |
R-4.4-mac-x86_64 | NOTE | Nov 02 2024 |
R-4.4-mac-aarch64 | NOTE | Nov 02 2024 |
R-4.3-win-x86_64 | NOTE | Nov 02 2024 |
R-4.3-mac-x86_64 | NOTE | Nov 02 2024 |
R-4.3-mac-aarch64 | NOTE | Nov 02 2024 |
Exports:autographcirclecollect_connectionscollect_edgescreate_layoutedge_angleellipsisfacet_edgesfacet_graphfacet_nodesFacetEdgesFacetGraphFacetNodesgeom_axis_hivegeom_conn_bundlegeom_conn_bundle0geom_conn_bundle2geom_edge_arcgeom_edge_arc0geom_edge_arc2geom_edge_bendgeom_edge_bend0geom_edge_bend2geom_edge_bundle_forcegeom_edge_bundle_force0geom_edge_bundle_force2geom_edge_bundle_minimalgeom_edge_bundle_minimal0geom_edge_bundle_minimal2geom_edge_bundle_pathgeom_edge_bundle_path0geom_edge_bundle_path2geom_edge_densitygeom_edge_diagonalgeom_edge_diagonal0geom_edge_diagonal2geom_edge_elbowgeom_edge_elbow0geom_edge_elbow2geom_edge_fangeom_edge_fan0geom_edge_fan2geom_edge_hivegeom_edge_hive0geom_edge_hive2geom_edge_linkgeom_edge_link0geom_edge_link2geom_edge_loopgeom_edge_loop0geom_edge_parallelgeom_edge_parallel0geom_edge_parallel2geom_edge_pointgeom_edge_sfgeom_edge_spangeom_edge_span0geom_edge_span2geom_edge_tilegeom_node_arc_bargeom_node_circlegeom_node_labelgeom_node_pointgeom_node_rangegeom_node_sfgeom_node_textgeom_node_tilegeom_node_voronoiGeomAxisHiveGeomEdgeBezierGeomEdgeBsplineGeomEdgeParallelPathGeomEdgeParallelSegmentGeomEdgePathGeomEdgePointGeomEdgeSegmentGeomEdgeSfGeomEdgeSpanPathGeomEdgeSpanSegmentGeomEdgeTilegeometryGeomNodeTileget_conget_edgesget_nodesggraphguide_edge_colorbarguide_edge_colorstepsguide_edge_colourbarguide_edge_colourstepsguide_edge_directionis.geometrylabel_rectlayout_to_tablenode_anglenode_rank_fabricpack_circlesqgraphrectanglescale_color_viridisscale_edge_alphascale_edge_alpha_binnedscale_edge_alpha_continuousscale_edge_alpha_discretescale_edge_alpha_identityscale_edge_alpha_manualscale_edge_color_binnedscale_edge_color_brewerscale_edge_color_continuousscale_edge_color_discretescale_edge_color_distillerscale_edge_color_fermenterscale_edge_color_gradientscale_edge_color_gradient2scale_edge_color_gradientnscale_edge_color_greyscale_edge_color_huescale_edge_color_identityscale_edge_color_manualscale_edge_color_stepsscale_edge_color_steps2scale_edge_color_stepsnscale_edge_color_viridisscale_edge_colour_binnedscale_edge_colour_brewerscale_edge_colour_continuousscale_edge_colour_discretescale_edge_colour_distillerscale_edge_colour_fermenterscale_edge_colour_gradientscale_edge_colour_gradient2scale_edge_colour_gradientnscale_edge_colour_greyscale_edge_colour_huescale_edge_colour_identityscale_edge_colour_manualscale_edge_colour_stepsscale_edge_colour_steps2scale_edge_colour_stepsnscale_edge_colour_viridisscale_edge_fill_binnedscale_edge_fill_brewerscale_edge_fill_continuousscale_edge_fill_discretescale_edge_fill_distillerscale_edge_fill_fermenterscale_edge_fill_gradientscale_edge_fill_gradient2scale_edge_fill_gradientnscale_edge_fill_greyscale_edge_fill_huescale_edge_fill_identityscale_edge_fill_manualscale_edge_fill_stepsscale_edge_fill_steps2scale_edge_fill_stepsnscale_edge_fill_viridisscale_edge_linetypescale_edge_linetype_binnedscale_edge_linetype_continuousscale_edge_linetype_discretescale_edge_linetype_identityscale_edge_linetype_manualscale_edge_radiusscale_edge_shapescale_edge_shape_binnedscale_edge_shape_continuousscale_edge_shape_discretescale_edge_shape_identityscale_edge_shape_manualscale_edge_sizescale_edge_size_areascale_edge_size_binnedscale_edge_size_binned_areascale_edge_size_continuousscale_edge_size_discretescale_edge_size_identityscale_edge_size_manualscale_edge_widthscale_edge_width_binnedscale_edge_width_continuousscale_edge_width_discretescale_edge_width_identityscale_edge_width_manualscale_fill_viridisscale_label_sizescale_label_size_binnedscale_label_size_continuousscale_label_size_discretescale_label_size_identityscale_label_size_manualset_graph_stylesquareStatAxisHiveStatConnBundleStatConnBundle0StatConnBundle2StatEdgeArcStatEdgeArc0StatEdgeArc2StatEdgeBendStatEdgeBend0StatEdgeBend2StatEdgeBundleForceStatEdgeBundleForce0StatEdgeBundleForce2StatEdgeBundleMinimalStatEdgeBundleMinimal0StatEdgeBundleMinimal2StatEdgeBundlePathStatEdgeBundlePath0StatEdgeBundlePath2StatEdgeDensityStatEdgeDiagonalStatEdgeDiagonal0StatEdgeDiagonal2StatEdgeElbowStatEdgeElbow0StatEdgeElbow2StatEdgeFanStatEdgeFan0StatEdgeFan2StatEdgeHiveStatEdgeHive0StatEdgeHive2StatEdgeLinkStatEdgeLink2StatEdgeLoopStatEdgeLoop0StatEdgeParallelStatEdgeParallel0StatEdgeParallel2StatFilterStatFilterSfStatNodeArcBarStatNodeCircleStatNodeVoronoiStatReverseth_foregroundth_no_axestheme_graphunset_graph_style
Dependencies:cachemclicolorspacecpp11dplyrfansifarverfastmapgenericsggforceggplot2ggrepelgluegraphlayoutsgridExtragtableigraphisobandlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellnlmepillarpkgconfigpolyclippurrrR6RColorBrewerRcppRcppArmadillorlangscalesstringistringrsystemfontstibbletidygraphtidyrtidyselecttweenrutf8vctrsviridisviridisLitewithr
Edges
Rendered fromEdges.Rmd
usingknitr::rmarkdown
on Nov 02 2024.Last update: 2024-01-30
Started: 2017-02-21
Layouts
Rendered fromLayouts.Rmd
usingknitr::rmarkdown
on Nov 02 2024.Last update: 2024-01-30
Started: 2017-02-21
Nodes
Rendered fromNodes.Rmd
usingknitr::rmarkdown
on Nov 02 2024.Last update: 2024-01-30
Started: 2017-02-21
tidygraph and ggraph
Rendered fromtidygraph.Rmd
usingknitr::rmarkdown
on Nov 02 2024.Last update: 2022-08-08
Started: 2018-01-16
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Quickplot wrapper for networks | autograph autograph.default |
Create small multiples based on edge attributes | facet_edges |
Create a grid of small multiples by node and/or edge attributes | facet_graph |
Create small multiples based on node attributes | facet_nodes |
The class hierarchy of the flare visualization library | flare |
Draw rectangular bars and labels on hive axes | geom_axis_hive |
Create hierarchical edge bundles between node connections | geom_conn_bundle geom_conn_bundle0 geom_conn_bundle2 |
Draw edges as Arcs | geom_edge_arc geom_edge_arc0 geom_edge_arc2 |
Draw edges as diagonals | geom_edge_bend geom_edge_bend0 geom_edge_bend2 |
Bundle edges using force directed edge bundling | geom_edge_bundle_force geom_edge_bundle_force0 geom_edge_bundle_force2 |
Bundle edges along the minimal spanning tree | geom_edge_bundle_minimal geom_edge_bundle_minimal0 geom_edge_bundle_minimal2 |
Bundle edges using edge path bundling | geom_edge_bundle_path geom_edge_bundle_path0 geom_edge_bundle_path2 |
Show edges as a density map | geom_edge_density |
Draw edges as diagonals | geom_edge_diagonal geom_edge_diagonal0 geom_edge_diagonal2 |
Draw edges as elbows | geom_edge_elbow geom_edge_elbow0 geom_edge_elbow2 |
Draw edges as curves of different curvature | geom_edge_fan geom_edge_fan0 geom_edge_fan2 |
Draw edges in hive plots | geom_edge_hive geom_edge_hive0 geom_edge_hive2 |
Draw edges as straight lines between nodes | geom_edge_link geom_edge_link0 geom_edge_link2 |
Draw edges as diagonals | geom_edge_loop geom_edge_loop0 |
Draw multi edges as parallel lines | geom_edge_parallel geom_edge_parallel0 geom_edge_parallel2 |
Draw edges as glyphs | geom_edge_point |
Draw edges as LINESTRINGs in geographical space | geom_edge_sf |
Draw edges as vertical spans | geom_edge_span geom_edge_span0 geom_edge_span2 |
Draw edges as glyphs | geom_edge_tile |
Show nodes as thick arcs | geom_node_arc_bar |
Show nodes as circles | geom_node_circle |
Show nodes as points | geom_node_point |
Show nodes as a line spanning a horizontal range | geom_node_range |
Show nodes as POINTs in geographical space | geom_node_sf |
Annotate nodes with text | geom_node_label geom_node_text |
Draw the rectangles in a treemap | geom_node_tile |
Show nodes as voronoi tiles | geom_node_voronoi |
Define simple shapes for line capping | circle ellipsis geometry is.geometry label_rect rectangle square |
Create a connection extractor function | get_con |
Create edge extractor function | get_edges get_sf_edges |
Create a node extractor function | get_nodes get_sf_nodes |
Create a ggraph plot | create_layout create_layout.default create_layout.layout_ggraph create_layout.tbl_graph ggraph layout_ggraph layout_tbl_graph |
Colourbar legend for edges | guide_edge_colorbar guide_edge_colourbar |
Coloursteps legend for edges | guide_edge_colorsteps guide_edge_coloursteps |
Edge direction guide | guide_edge_direction |
Friendship among high school boys | highschool |
Automatically pick a layout based on graph type | layout_tbl_graph_auto |
Place node to emphasize group structure | layout_tbl_graph_backbone |
Calculate nodes as fractal circle buds | layout_tbl_graph_cactustree |
Place nodes in circles according to centrality measure | layout_tbl_graph_centrality |
Calculate nodes as circles packed within their parent circle | layout_tbl_graph_circlepack |
Apply a dendrogram layout to layout_tbl_graph | layout_tbl_graph_dendrogram |
Place nodes according to their eigenvalues | layout_tbl_graph_eigen |
Create a fabric layout | layout_tbl_graph_fabric node_rank_fabric |
Place nodes in circles based on distance to a specific node | layout_tbl_graph_focus |
Place nodes in a Hive Plot layout | layout_tbl_graph_hive |
Layout binary trees in a fractal H formation | layout_tbl_graph_htree |
Use igraph layout algorithms for layout_tbl_graph | layout_tbl_graph_igraph |
Place nodes on a line or circle | layout_tbl_graph_linear |
Manually specify a layout for layout_tbl_graph | layout_tbl_graph_manual |
Place nodes on a diagonal | layout_tbl_graph_matrix |
Place nodes according to the standard design of metro maps | layout_tbl_graph_metro |
Calculate nodes as areas dividing their parent | layout_tbl_graph_partition |
Place nodes based on a multidimensional scaling of a set of pivot nodes | layout_tbl_graph_pmds |
Place nodes on their geographical space | layout_tbl_graph_sf |
Place nodes using stress majorisation | layout_tbl_graph_sparse_stress layout_tbl_graph_stress |
Calculate nodes as rectangles subdividing that of their parent | layout_tbl_graph_treemap |
Create an unrooted layout using equal-angle or equal-daylight | layout_tbl_graph_unrooted |
Get the angle of nodes and edges | edge_angle node_angle |
Pack circles together | pack_circles |
Edge alpha scales | scale_edge_alpha scale_edge_alpha_binned scale_edge_alpha_continuous scale_edge_alpha_discrete scale_edge_alpha_identity scale_edge_alpha_manual |
Edge colour scales | scale_edge_color_binned scale_edge_color_brewer scale_edge_color_continuous scale_edge_color_discrete scale_edge_color_distiller scale_edge_color_fermenter scale_edge_color_gradient scale_edge_color_gradient2 scale_edge_color_gradientn scale_edge_color_grey scale_edge_color_hue scale_edge_color_identity scale_edge_color_manual scale_edge_color_steps scale_edge_color_steps2 scale_edge_color_stepsn scale_edge_color_viridis scale_edge_colour scale_edge_colour_binned scale_edge_colour_brewer scale_edge_colour_continuous scale_edge_colour_discrete scale_edge_colour_distiller scale_edge_colour_fermenter scale_edge_colour_gradient scale_edge_colour_gradient2 scale_edge_colour_gradientn scale_edge_colour_grey scale_edge_colour_hue scale_edge_colour_identity scale_edge_colour_manual scale_edge_colour_steps scale_edge_colour_steps2 scale_edge_colour_stepsn scale_edge_colour_viridis |
Edge fill scales | scale_edge_fill scale_edge_fill_binned scale_edge_fill_brewer scale_edge_fill_continuous scale_edge_fill_discrete scale_edge_fill_distiller scale_edge_fill_fermenter scale_edge_fill_gradient scale_edge_fill_gradient2 scale_edge_fill_gradientn scale_edge_fill_grey scale_edge_fill_hue scale_edge_fill_identity scale_edge_fill_manual scale_edge_fill_steps scale_edge_fill_steps2 scale_edge_fill_stepsn scale_edge_fill_viridis |
Edge linetype scales | scale_edge_linetype scale_edge_linetype_binned scale_edge_linetype_continuous scale_edge_linetype_discrete scale_edge_linetype_identity scale_edge_linetype_manual |
Edge shape scales | scale_edge_shape scale_edge_shape_binned scale_edge_shape_continuous scale_edge_shape_discrete scale_edge_shape_identity scale_edge_shape_manual |
Edge size scales | scale_edge_radius scale_edge_size scale_edge_size_area scale_edge_size_binned scale_edge_size_binned_area scale_edge_size_continuous scale_edge_size_discrete scale_edge_size_identity scale_edge_size_manual |
Edge width scales | scale_edge_width scale_edge_width_binned scale_edge_width_continuous scale_edge_width_discrete scale_edge_width_identity scale_edge_width_manual |
Edge label size scales | scale_label_size scale_label_size_binned scale_label_size_continuous scale_label_size_discrete scale_label_size_identity scale_label_size_manual |
A theme tuned for graph visualizations | set_graph_style theme_graph th_foreground th_no_axes unset_graph_style |
Membership network of American Whigs | whigs |