Learn R Programming

autodb (version 2.3.1)

gv.relation_schema: Generate Graphviz input text to plot relation schemas

Description

Produces text input for Graphviz to make an HTML diagram of a given relation schema.

Usage

# S3 method for relation_schema
gv(x, name = NA_character_, ...)

Value

A scalar character, containing text input for Graphviz.

Arguments

x

a relation schema, as given by relation_schema or synthesise.

name

a character scalar, giving the name of the schema, if any.

...

further arguments passed to or from other methods.

Details

Each relation in the schema is presented as a set of rows, one for each attribute in the relation. These rows do not include information about the attribute classes.

See Also

The generic gv.