class Graphviz implements Visitor (View source)

Methods

acceptColumn(Table $table, Column $column)

No description

acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint)

No description

acceptIndex(Table $table, Index $index)

No description

acceptSchema(Schema $schema)

No description

acceptSequence(Sequence $sequence)

No description

acceptTable(Table $table)

No description

void
write(string $filename)

Write dot language output to a file. This should usually be a *.dot file.

Details

acceptColumn(Table $table, Column $column)

Parameters

Table $table
Column $column

acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint)

Parameters

Table $localTable
ForeignKeyConstraint $fkConstraint

acceptIndex(Table $table, Index $index)

Parameters

Table $table
Index $index

acceptSchema(Schema $schema)

Parameters

Schema $schema

acceptSequence(Sequence $sequence)

Parameters

Sequence $sequence

acceptTable(Table $table)

Parameters

Table $table

void write(string $filename)

Write dot language output to a file. This should usually be a *.dot file.

You have to convert the output into a viewable format. For example use "neato" on linux systems and execute:

neato -Tpng -o er.png er.dot

Parameters

string $filename

Return Value

void