3.1 Introduction - Computer Science and...

19
63 3.1 Introduction

Transcript of 3.1 Introduction - Computer Science and...

Page 1: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

63

3.1 Introduction

Page 2: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.2 Getting Started

3.3 Using StP

3.3.1 Starting Up StP

Page 3: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3 USING STP 65

3.3.2 StP Desktop Window

3.3.3 StP Graphics Window

Page 4: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

66 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3.3.1 Inserting Symbols

Page 5: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3 USING STP 67

3.3.3.2 Connecting Symbols

Page 6: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

68 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3.3.3 Moving Symbols

3.3.3.4 Deleting Symbols

3.3.3.5 Labeling Symbols

Page 7: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3 USING STP 69

3.3.3.6 Editing Labels

3.3.3.7 Other Useful Features

3.3.3.8 Using Submenus

3.3.4 Advanced Features

Page 8: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

70 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3.4.1 Scaling

3.3.4.2 Replacement

3.3.4.3 Screen Movement

Page 9: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.3 USING STP 71

3.3.5 Setting Cardinality and Existence

3.3.6 Annotating symbols

Page 10: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

72 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

Page 11: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 73

3.4 Producing Sample ER And Jackson Diagrams

3.4.1 The Business Database

Page 12: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

74 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4.2 Chen ERE Window

PERSON

P-SSNO

P-NAME

P-ADDR

OWNER EMPLOYEE

O-PHONE EMPNO

OWNS WORKS-FOR

BUSINESS

B-NAME

B-ADDR

TYPE

PER-CENT

SALARY

JOB-TITLE

PRODUCESQTY DISTRIBUTOR

D-NAME

D-ADDR

PRODUCT

PRODNO DESCR*

*

*

S *

*

1:M 1:M

1:M

1:1

1:M

0:M

0:M

Page 13: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 75

3.4.2.1 Generating SQL

3.4.3 DSE Window

Page 14: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

76 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

*

* is not a part of thelabel. Annotate it byadding an AttributeInformation node &

an Is Key? item.

Entity

Relationship

Entity

Attri-bute

KeyAttribute

Entity

Entity

Association

Existence:Cardinality

Existence &cardinalitynot a part of the label,use

Set Cardinality & Existencesubmenu from Info

Modeling menu

Attri-bute

Entity

WeakEntity

This connection cannot have label

Entity

WeakEntity

Superclass

d

Subclass Subclass

Superclass

Subclass Subclass

O

Parent

Child Child

Exclusive SubtypeRelationship

Parent

Child Child

Inclusive SubtypeRelationship

Category

Superclass Superclass

U

Parent

Child Child

GeneralizationRelationship

DisjointSpecialization

OverlappingSpecialization

Categorization

G

S *S

0:M

Page 15: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 77

DistributionSummary

SummaryHeader

SummaryBody

BusinessName

BusinessAddress

SummaryDate

Distributor

DistributorName

ProductGroup

ProductNumber

Product

Description Quantity

*

Page 16: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

78 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4.4 Printing Diagrams

3.4.4.1 Printing a single diagram

Page 17: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4 PRODUCING SAMPLE ER AND JACKSON DIAGRAMS 79

3.4.4.2 Printing all diagrams

Page 18: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

80 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.4.5 Setting a StP Project and System Subdirectory

Page 19: 3.1 Introduction - Computer Science and Engineeringweb.cse.ohio-state.edu/~parthasarathy.2/670/Tutorials/stp.pdf3.1 Introduction. 64 CHAPTER 3. SOFTWARE THROUGH PICTURES (STP) TUTORIAL

3.5 ACKNOWLEDGMENTS 81

3.4.5.1 Using the “Set Project/System” command

3.4.5.2 Using the “ToolInfo.hp700Student” file

3.5 Acknowledgments