sna (version 2.4)

read.dot: Read Graphviz DOT Files

Description

Reads network information in Graphviz's DOT format, returning an adjacency matrix.

Usage

read.dot(...)

Arguments

The name of the file whence to import the data, or else a connection object (suitable for processing by readLines.

Value

The imported graph, in adjacency matrix form.

Details

The Graphviz project's DOT language is a simple but flexible tool for describing graphs. See the included reference for details.

References

Graphviz Project. "The DOT Language." http://www.graphviz.org/doc/info/lang.html

See Also

read.nos, write.nos, write.dl