model.dia: Dia Representations

View source: R/XML.R

model.diaR Documentation

Dia Representations

Description

Read and write Dia representations of models

Usage

model.dia(file, labels = NULL)

write.dia(edges, file, width = 8, height = 2, self = TRUE)

Arguments

file

name of the file to read or write

labels

the sequence of labels to use for the nodes

edges

an edge list

width

width of the nodes in Dia

height

height of the nodes in Dia

self

should self edges be written.

Details

These functions read and write Dia representions of model toplogies.

These functions should be used with care as no attempt is made to test for model mis-specification. The model.dia function only recognizes node shapes "Flowchart - Ellipse", "Flowchart - Box" and "Flowchart - Terminal", line types "Standard - Arc", "Standard - ZigZagLine" and "Standard - Line", and arrow types 8, 1 and 5. Other node shapes, line or arrow types will be silently ignored leading to a mispecified model.

Value

The model.dia function returns an edge list.

See Also

read.digraph


SWotherspoon/QPress documentation built on Sept. 26, 2022, 2:27 a.m.