D2W Rules Reference - Cookbook - FAQ
Rule Lists
Below are some commonly used rules and information on keys which control D2W templates. You may wish to keep your own library of commonly used D2W rules, something like "D2WRuleLibrary.d2wmodel", which can then be used to copy and paste rules into your projects.
For quick reference:
1. How do I make my attributes and entities editable?
Unknown macro: noformat. Click on this message for details.
2. How do I make my relationships editable in ERD2W? (They all ready are editable in D2W.)
Add two rules. This:
Unknown macro: noformat. Click on this message for details.
and the below:
Unknown macro: noformat. Click on this message for details.
3. I don't like the defaults for attributes that D2W chooses. Sometimes it chooses wisely, but not always. How do I change what gets displayed for an entity's attributes?
The key is: displayPropertyKeys. This key represents a list of attributes to display for an entity. An example rule:
Unknown macro: noformat. Click on this message for details.
Note that you can pick attributes across relationships. You now have total control of what gets displayed.