We use planter in our build process to maintain an up-to-date visualization of the schema. Given that foreign key references are maintained in the schema (using REFERENCES), planter draws all relationships properly.
The Plant UML CLI itself has some limitations if the ER diagram is really large.
The Plant UML CLI itself has some limitations if the ER diagram is really large.