draw_weighted_graph: Uses igraph to draw weighted graphs

Description Usage Arguments Examples

View source: R/draw_weighted_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

weights

vector length N^2 that defines a greyscale intensity for each edge in the adjacency matrix including those that are not drawn

Examples

1
draw_weighted_graph(matrix(1,3,3, byrow=T), c('A','B','C'), runif(9))

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