Liam ERD Web
TBD
Detect schema format
You can instantly generate an ER diagram by appending a GitHub file URL to liambx.com/erd/p/
. For example:
https://liambx.com/erd/p/github.com/mastodon/mastodon/blob/main/db/schema.rb
When Liam ERD fetches your schema file, it automatically attempts to determine the schema format. Here’s how the detection works:
- File name check: Certain filenames like
schema.rb
orSchemafile
are assumed to beschemarb
. - File extension check: Files ending with
.rb
are treated asschemarb
, while files ending with.sql
are treated aspostgresql
. - For more details, refer to the detectFormat.ts file in our GitHub repository.
Override the Detected Format
If the automatic detection doesn’t match your desired format, you can specify it manually via query parameters. For example:
Check /docs/supported-format for a full list of valid format identifiers.