Produces text input for Graphviz to make an HTML diagram of a given database schema.
# S3 method for database_schema
gv(x, name = NA_character_, ...)
A scalar character, containing text input for Graphviz.
a database schema, as given by normalise
,
synthesise
, or autoref
.
a character scalar, giving the name of the schema, if any.
further arguments passed to or from other methods.
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.
The generic gv
.