draw_graph: Uses igraph to draw graphs how I like them

Description Usage Arguments Examples

View source: R/draw_graph.R

Description

Works well for 3-5 nodes

Usage

1

Arguments

graph

The adjacency matrix of the graph you want drawn

labels

The names for the nodes in the graph

Examples

1
draw_graph(matrix(c(0,1,1,0,0,0,0,0,0),3,3, byrow=T), c('A','B','C'))

neilbramley/acl_source documentation built on May 29, 2019, 6:53 p.m.