ER/Studio - Embarcadero Technologies Product Documentation
ER/Studio - Embarcadero Technologies Product Documentation ER/Studio - Embarcadero Technologies Product Documentation
USING ER/STUDIO > COMMON TASKS Changing the Relationship Notation for a Selected Model 1 Right-click the target model and then select Model Options. 2 In the Notation area, choose the desired notation and then click OK. Manipulating Relationship Lines Relationship lines represent relationships between entities or between attributes. You can customize the appearance of any relationship line in any model, even when using auto layout. For example, if you use an Orthogonal layout, where all relationships bend at a 90 degree angle, you can change any individual bend to an N bend or straighten the relationship line. You can also set the bend attributes of any relationship in a model. There are two kinds of bends in ER/Studio, N bends and Orthogonal bends. N Bends are relationship lines that bend at any angle while Orthogonal bends only bend at a 90 degree angle. Both Hierarchical and Orthogonal auto layouts use only Orthogonal relationship lines. All other auto layouts use straight relationship lines. You can also create straight relationship lines that are vertical or horizontal. When you use the auto layouts, ER/Studio organizes the data model objects according to the specifications of that particular layout. Each layout has different specifications for the way relationships bend and how relationships dock or intersect with entities and attributes. You can move the docking positions of relationship lines on parent or child entities. You can also change the color of all or individual relationships in the data model. You can specify a default relationship color on the Options Editor - Application tab. Use the Colors and Fonts Editor to change all or an individual relationship in your model. NOTE: You can overwrite relationship defaults after applying an automatic layout by changing relationship lines in a diagram or by changing the line disposition in a diagram. TIP: You can use the Options Editor, Diagram and Object Display Options Editor, and the Format Menu to change relationship disposition and colors. Use the Options Editor - Application tab to make global changes to all your data models. Use the View Menu to make changes to the current data model and the Format Menu to make changes to the selected objects. Changes made in the Format Menu will override changes made first in the Options Editor. This section is comprised of the following topics: • Changing the Style of Relationship Lines • Create an N Bend • Straightening an N Bend • Change the Disposition of Relationship Lines Changing the Style of Relationship Lines To make your diagram easier to read, you may want to change the style of relationship lines from elbowed to straight or vice-versa. NOTE: When changing from elbowed to straight relationship lines, ER/Studio repositions the docking points to as close as possible to their original positions. • To change the style of relationship lines in all new data models, click Tools > Options > Display and in the Model Display area, select the Line Drawing Mode you want, either Elbowed Lines or Straight Lines. Relationships in all new data models you create will now default to the Line Drawing Mode selected. EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 98
USING ER/STUDIO > COMMON TASKS • To change the style of all relationship lines in the current data model, click View > Diagram and Object Display Options > Relationship and in the Display Preferences area, select the Relationship Style you want, Elbowed or Straight. The relationships in the current data model are redrawn to conform with the Relationship Style selected. • To change the style of a selected relationship line, right-click the relationship line, click Layout Relationships, and then click Elbowed or Straight. Alternatively, after selecting the relationship line, on the Format > Layout Relationships list, click Elbowed or Straight. The selected relationship is redrawn to conform with the relationship style selected. • To straighten a relationship line, right-click the relationship line and then click Straighten Relationship Line. TIP: Alternatively, you can straighten a horizontal relationship by selecting the relationship line and then pressing CTRL+H. Pressing CTRL+L straightens a vertical relationship. NOTE: Changes are cascading, meaning that changes made in the Format menu will override changes made in the Options Editor. Create an N Bend To make your diagram easier to read, you may want to create N bends, which are like elbows, on one or more relationship lines. NOTE: If you are using an automatic layout, ER/Studio lets you create N bends only in the following layouts: Circular Layout, Symmetric Layout, and Tree Layout. 1 Click the relationship line that you want to bend. 2 Move the cursor over the line at the point on the relationship where you want to create the bend. NOTE: The pointer should change to . 3 Click and drag to position the bend. 4 To create more than one bend point on the relationship, repeat steps 2 and 3. Straightening an N Bend Once you have created an N Bend, you can use the following methods to straighten the line. • To remove a bend, click the relationship line you want to straighten and then click Format > Layout Relationship > Straight • To reset the line to its default position, click the relationship line you want to straighten and then click Format > Line Disposition > Reset to Default Docking Side(s). EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 99
- Page 47 and 48: USING ER/STUDIO > CREATING AND WORK
- Page 49 and 50: USING ER/STUDIO > CREATING AND WORK
- Page 51 and 52: USING ER/STUDIO > CREATING AND WORK
- Page 53 and 54: USING ER/STUDIO > CREATING AND WORK
- Page 55 and 56: USING ER/STUDIO > CREATING AND WORK
- Page 57 and 58: USING ER/STUDIO > CREATING AND WORK
- Page 59 and 60: USING ER/STUDIO > CREATING AND WORK
- Page 61 and 62: USING ER/STUDIO > CREATING AND WORK
- Page 63 and 64: USING ER/STUDIO > BEST PRACTICES 8
- Page 65 and 66: USING ER/STUDIO > COMMON TASKS Comm
- Page 67 and 68: USING ER/STUDIO > COMMON TASKS Movi
- Page 69 and 70: USING ER/STUDIO > COMMON TASKS Copy
- Page 71 and 72: USING ER/STUDIO > COMMON TASKS Chan
- Page 73 and 74: USING ER/STUDIO > COMMON TASKS 3 To
- Page 75 and 76: USING ER/STUDIO > COMMON TASKS The
- Page 77 and 78: USING ER/STUDIO > COMMON TASKS 4 Co
- Page 79 and 80: USING ER/STUDIO > COMMON TASKS Sync
- Page 81 and 82: USING ER/STUDIO > COMMON TASKS In c
- Page 83 and 84: USING ER/STUDIO > COMMON TASKS Adva
- Page 85 and 86: USING ER/STUDIO > COMMON TASKS Asso
- Page 87 and 88: USING ER/STUDIO > COMMON TASKS Comp
- Page 89 and 90: USING ER/STUDIO > COMMON TASKS Dime
- Page 91 and 92: USING ER/STUDIO > COMMON TASKS •
- Page 93 and 94: USING ER/STUDIO > COMMON TASKS See
- Page 95 and 96: USING ER/STUDIO > COMMON TASKS The
- Page 97: USING ER/STUDIO > COMMON TASKS The
- Page 101 and 102: USING ER/STUDIO > COMMON TASKS 3 In
- Page 103 and 104: USING ER/STUDIO > COMMON TASKS Chan
- Page 105 and 106: USING ER/STUDIO > COMMON TASKS •
- Page 107 and 108: USING ER/STUDIO > COMMON TASKS Shap
- Page 109 and 110: USING ER/STUDIO > COMMON TASKS Addi
- Page 111 and 112: USING ER/STUDIO > DEVELOPING THE LO
- Page 113 and 114: USING ER/STUDIO > DEVELOPING THE LO
- Page 115 and 116: USING ER/STUDIO > DEVELOPING THE LO
- Page 117 and 118: USING ER/STUDIO > DEVELOPING THE LO
- Page 119 and 120: USING ER/STUDIO > DEVELOPING THE LO
- Page 121 and 122: USING ER/STUDIO > DEVELOPING THE LO
- Page 123 and 124: USING ER/STUDIO > DEVELOPING THE LO
- Page 125 and 126: USING ER/STUDIO > DEVELOPING THE LO
- Page 127 and 128: USING ER/STUDIO > DEVELOPING THE LO
- Page 129 and 130: USING ER/STUDIO > DEVELOPING THE LO
- Page 131 and 132: USING ER/STUDIO > DEVELOPING THE LO
- Page 133 and 134: USING ER/STUDIO > DEVELOPING THE LO
- Page 135 and 136: USING ER/STUDIO > DEVELOPING THE LO
- Page 137 and 138: USING ER/STUDIO > DEVELOPING THE LO
- Page 139 and 140: USING ER/STUDIO > DEVELOPING THE LO
- Page 141 and 142: USING ER/STUDIO > DEVELOPING THE LO
- Page 143 and 144: USING ER/STUDIO > DEVELOPING THE PH
- Page 145 and 146: USING ER/STUDIO > DEVELOPING THE PH
- Page 147 and 148: USING ER/STUDIO > DEVELOPING THE PH
USING <strong>ER</strong>/STUDIO > COMMON TASKS<br />
• To change the style of all relationship lines in the current data model, click View > Diagram and Object Display<br />
Options > Relationship and in the Display Preferences area, select the Relationship Style you want,<br />
Elbowed or Straight.<br />
The relationships in the current data model are redrawn to conform with the Relationship Style selected.<br />
• To change the style of a selected relationship line, right-click the relationship line, click Layout Relationships,<br />
and then click Elbowed or Straight. Alternatively, after selecting the relationship line, on the Format > Layout<br />
Relationships list, click Elbowed or Straight.<br />
The selected relationship is redrawn to conform with the relationship style selected.<br />
• To straighten a relationship line, right-click the relationship line and then click Straighten Relationship Line.<br />
TIP: Alternatively, you can straighten a horizontal relationship by selecting the relationship line and<br />
then pressing CTRL+H. Pressing CTRL+L straightens a vertical relationship.<br />
NOTE: Changes are cascading, meaning that changes made in the Format menu will override changes<br />
made in the Options Editor.<br />
Create an N Bend<br />
To make your diagram easier to read, you may want to create N bends, which are like elbows, on one or more<br />
relationship lines.<br />
NOTE: If you are using an automatic layout, <strong>ER</strong>/<strong>Studio</strong> lets you create N bends only in the following<br />
layouts: Circular Layout, Symmetric Layout, and Tree Layout.<br />
1 Click the relationship line that you want to bend.<br />
2 Move the cursor over the line at the point on the relationship where you want to create the bend.<br />
NOTE: The pointer should change to .<br />
3 Click and drag to position the bend.<br />
4 To create more than one bend point on the relationship, repeat steps 2 and 3.<br />
Straightening an N Bend<br />
Once you have created an N Bend, you can use the following methods to straighten the line.<br />
• To remove a bend, click the relationship line you want to straighten and then click Format > Layout<br />
Relationship > Straight<br />
• To reset the line to its default position, click the relationship line you want to straighten and then click Format ><br />
Line Disposition > Reset to Default Docking Side(s).<br />
EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 99