-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.erdconfig
21 lines (17 loc) · 1.12 KB
/
.erdconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# The file type of the generated diagram. PDF output is strongly recommended, other formats may render
# significantly worse. The available formats depend on your installation of Graphviz. If you set the
# file type to dot, raw Graphviz instructions are saved in dot format. This does not require Graphviz
# to be installed. Default value: pdf
filetype: jpg
# Specifies whether or not to display polymorphic hierarchies. Polymorphic associations are normally
# displayed as direct relationships. In some cases this may be confusing, because it masks their
# true nature. Enable this option if polymorphic associations play a crucial role in your domain
# model. Enabling this option will also display abstract classes. Default value: false
polymorphism: false
# Exclude specified models. Together with only, this will allow to filter out models on your
# diagram. Default value: nil. Example: exclude="User,Role"
exclude: "ApplicationRecord,ActiveRecord::InternalMetadata,ActiveRecord::SchemaMigration"
# Ensure primary key is at start of attribute list.
prepend_primary: true
# Display models in subgraphs based on their namespace.
cluster: true