% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualize.R
\name{plot_network}
\alias{plot_network}
\title{Plot a Single Boolean Network}
\usage{
plot_network(trans_matrix, node_names = NULL, ...)
}
\arguments{
\item{trans_matrix}{A square matrix representing the network topology and Boolean rules (e.g., the output of \code{GenerateNetwork()}). Elements greater than 0 indicate a directed edge.}

\item{node_names}{Character vector. Optional names for the nodes. Defaults to "N1", "N2", etc.}

\item{...}{Additional graphical parameters passed to \code{igraph::plot.igraph()}.}
}
\value{
An invisible \code{igraph} object.
}
\description{
Visualizes a single directed network topology. For instance, a synthetic "true" network
generated by \code{GenerateNetwork()}.
}
\examples{
# 1. Generate synthetic 5-node network topology
set.seed(123)
true_network <- GenerateNetwork(num.node = 5)

# 2. Plot the generated network
plot_network(true_network)

}
