24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

USING <strong>ER</strong>/STUDIO > COMMON TASKS<br />

Changing the Relationship Notation for a Selected Model<br />

1 Right-click the target model and then select Model Options.<br />

2 In the Notation area, choose the desired notation and then click OK.<br />

Manipulating Relationship Lines<br />

Relationship lines represent relationships between entities or between attributes. You can customize the appearance<br />

of any relationship line in any model, even when using auto layout. For example, if you use an Orthogonal layout,<br />

where all relationships bend at a 90 degree angle, you can change any individual bend to an N bend or straighten the<br />

relationship line.<br />

You can also set the bend attributes of any relationship in a model. There are two kinds of bends in <strong>ER</strong>/<strong>Studio</strong>, N<br />

bends and Orthogonal bends. N Bends are relationship lines that bend at any angle while Orthogonal bends only bend<br />

at a 90 degree angle. Both Hierarchical and Orthogonal auto layouts use only Orthogonal relationship lines. All other<br />

auto layouts use straight relationship lines. You can also create straight relationship lines that are vertical or horizontal.<br />

When you use the auto layouts, <strong>ER</strong>/<strong>Studio</strong> organizes the data model objects according to the specifications of that<br />

particular layout. Each layout has different specifications for the way relationships bend and how relationships dock or<br />

intersect with entities and attributes. You can move the docking positions of relationship lines on parent or child<br />

entities.<br />

You can also change the color of all or individual relationships in the data model. You can specify a default relationship<br />

color on the Options Editor - Application tab. Use the Colors and Fonts Editor to change all or an individual<br />

relationship in your model.<br />

NOTE: You can overwrite relationship defaults after applying an automatic layout by changing<br />

relationship lines in a diagram or by changing the line disposition in a diagram.<br />

TIP: You can use the Options Editor, Diagram and Object Display Options Editor, and the Format<br />

Menu to change relationship disposition and colors. Use the Options Editor - Application tab to<br />

make global changes to all your data models. Use the View Menu to make changes to the current<br />

data model and the Format Menu to make changes to the selected objects. Changes made in the<br />

Format Menu will override changes made first in the Options Editor.<br />

This section is comprised of the following topics:<br />

• Changing the Style of Relationship Lines<br />

• Create an N Bend<br />

• Straightening an N Bend<br />

• Change the Disposition of Relationship Lines<br />

Changing the Style of Relationship Lines<br />

To make your diagram easier to read, you may want to change the style of relationship lines from elbowed to straight<br />

or vice-versa.<br />

NOTE: When changing from elbowed to straight relationship lines, <strong>ER</strong>/<strong>Studio</strong> repositions the docking<br />

points to as close as possible to their original positions.<br />

• To change the style of relationship lines in all new data models, click Tools > Options > Display and in the<br />

Model Display area, select the Line Drawing Mode you want, either Elbowed Lines or Straight Lines.<br />

Relationships in all new data models you create will now default to the Line Drawing Mode selected.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!