gv.database_schema: Generate Graphviz input text to plot database schemas

View source: R/plot.r

gv.database_schemaR Documentation

Generate Graphviz input text to plot database schemas

Description

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

Usage

## S3 method for class 'database_schema'
gv(x, name = NA_character_, ...)

Arguments

x

a database schema, as given by normalise, synthesise, or autoref.

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.

Any foreign key references are represented by arrows between the attribute pairs.

Value

A scalar character, containing text input for Graphviz.

See Also

The generic gv.


autodb documentation built on April 4, 2025, 5:12 a.m.