1% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/is_graph_simple.R
3\name{is_graph_simple}
4\alias{is_graph_simple}
5\title{Is the graph a simple graph?}
6\usage{
7is_graph_simple(graph)
8}
9\arguments{
10\item{graph}{A graph object of class \code{dgr_graph}.}
11}
12\value{
13A logical value.
14}
15\description{
16Determine whether the graph is a simple graph. A simple graph is one that
17does not contain any loops nor any multiple edges.
18}
19\examples{
20# Create a graph with 2 cycles
21graph <-
22  create_graph() \%>\%
23  add_cycle(n = 4) \%>\%
24  add_cycle(n = 3)
25
26# Check if the graph is simple
27graph \%>\% is_graph_simple()
28
29}
30