{
  "name": "ggraph layouts and the edge and node geoms its vignettes pair with them",
  "description": "Compiled from the Layouts, Edges and Nodes vignettes of the ggraph package site: for each documented layout, the layout-specific arguments and the edge and node geoms used in the vignette example for it. Entries are limited to calls shown in those vignettes.",
  "page": "https://casrai.org/guides/ggraph",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T21:57:26Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Layout",
      "unit": "",
      "description": ""
    },
    {
      "name": "Layout-specific arguments",
      "unit": "",
      "description": ""
    },
    {
      "name": "Edge geom in vignette example",
      "unit": "",
      "description": ""
    },
    {
      "name": "Node or other geom in vignette example",
      "unit": "",
      "description": ""
    },
    {
      "name": "Source vignette",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Layout": "kk (Kamada-Kawai)",
      "Layout-specific arguments": "none",
      "Edge geom in vignette example": "geom_edge_link()",
      "Node or other geom in vignette example": "geom_node_point()",
      "Source vignette": "Layouts"
    },
    {
      "Layout": "fr (Fruchterman-Reingold)",
      "Layout-specific arguments": "none",
      "Edge geom in vignette example": "geom_edge_link()",
      "Node or other geom in vignette example": "geom_node_point()",
      "Source vignette": "Layouts"
    },
    {
      "Layout": "dendrogram",
      "Layout-specific arguments": "height = height",
      "Edge geom in vignette example": "geom_edge_elbow()",
      "Node or other geom in vignette example": "none shown",
      "Source vignette": "Layouts"
    },
    {
      "Layout": "treemap",
      "Layout-specific arguments": "weight = size",
      "Edge geom in vignette example": "none",
      "Node or other geom in vignette example": "geom_node_tile(aes(fill = depth), size = 0.25)",
      "Source vignette": "Layouts"
    },
    {
      "Layout": "circlepack",
      "Layout-specific arguments": "weight = size",
      "Edge geom in vignette example": "none",
      "Node or other geom in vignette example": "geom_node_circle(aes(fill = depth), size = 0.25, n = 50) with coord_fixed()",
      "Source vignette": "Layouts"
    },
    {
      "Layout": "linear",
      "Layout-specific arguments": "circular = TRUE adds coord_fixed()",
      "Edge geom in vignette example": "geom_edge_arc(aes(colour = factor(year)))",
      "Node or other geom in vignette example": "none shown",
      "Source vignette": "Layouts"
    },
    {
      "Layout": "hive",
      "Layout-specific arguments": "axis = friends, sort.by = degree",
      "Edge geom in vignette example": "geom_edge_hive()",
      "Node or other geom in vignette example": "geom_axis_hive()",
      "Source vignette": "Layouts"
    },
    {
      "Layout": "partition (circular)",
      "Layout-specific arguments": "circular = TRUE",
      "Edge geom in vignette example": "none",
      "Node or other geom in vignette example": "geom_node_arc_bar(aes(fill = depth)) with coord_fixed()",
      "Source vignette": "Nodes"
    }
  ],
  "sources": [
    {
      "title": "ggraph vignette: Layouts",
      "url": "https://ggraph.data-imaginist.com/articles/Layouts.html",
      "accessed": "2026-11-14"
    },
    {
      "title": "ggraph vignette: Nodes",
      "url": "https://ggraph.data-imaginist.com/articles/Nodes.html",
      "accessed": "2026-11-14"
    }
  ]
}