File: fortify.tbl_graph.Rd

package info (click to toggle)
r-cran-tidygraph 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 736 kB
  • sloc: cpp: 35; sh: 13; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{fortify.tbl_graph}
\alias{fortify.tbl_graph}
\title{Fortify a tbl_graph for ggplot2 plotting}
\usage{
fortify.tbl_graph(model, data, ...)
}
\description{
In general \code{tbl_graph} objects are intended to be plotted by network
visualisation libraries such as \code{ggraph}. However, if you do wish to plot
either the node or edge data directly with \code{ggplot2} you can simply add the
\code{tbl_graph} object as either the global or layer data and the currently
active data is passed on as a regular data frame.
}
\keyword{internal}