Entity Relationship Diagram ( ERD ) Notation In PlantUML
* identifying attribute: field_type(size_number or length_number)
optional_attribute: field_type(size_number or length_number)
<<PK>>, <<FK>>, <<generated>>
State Diagram consist of:
State drawn as rounded rectangle.
Starting Point drawn as a filled circle.
Ending Point drawn as two concentric circles with a filled inner circle.
Transition drawn as arrow.
Event / Trigger is text that written along the Transition arrow.
Internal Behavior is any behavior that happens while the object is in a state. Internal behavior is written as label / behavior. The label indicates when the behavior executes in other words, events or circumstances causing the behavior. There are three special labels: entry, exit, and do.
Internal transition is a transition that causes a reaction within a state, but doesn't cause the object to change states. Internal transitions are written as trigger [guard] / behavior, and they are listed inside a state.
Composite States
Concurent States
< Previous State Diagram ( UML )
==== ERD ( Entity Relationship Diagram )
:author: AsciiDoctor
:co-author: Tutor Course and After School Course
:revnumber: 1.0
:revdate: June 6th, 2007
:doctype: article
:toc:
:icons:
:lang: en
.Database Table Design: adminacc
[options="header"]
|===
|Field Name |Type |Size
|Username* |Text |50
|password |Text |50
3+|* _Primary Key_ ||
|===
.Database Table Design: record
[options="header"]
|===
|Field Name |Type |Size
|stud_ID* |Text |50
|fname |Text |50
|mname |Text |50
|lname |Text |50
|email |Text |50
3+|* _Primary Key_ ||
|===
3. Result Asciidoctor code after rendering, similar like this:
| Field Name | Type | Size |
|---|---|---|
Username* |
Text |
50 |
password |
Text |
50 |
| * Primary Key | ||
| Field Name | Type | Size |
|---|---|---|
stud_ID* |
Text |
50 |
fname |
Text |
50 |
mname |
Text |
50 |
lname |
Text |
50 |
Text |
50 |
|
| * Primary Key | ||
3+| is for merge three cells in one row as one cell.
These are UML ( Unified Modelling Language ) Vocabulary List:
Table View State And Transitions Of State Chart Diagram On UML:
| State/Trigger | Trigger 1 | Trigger 2 |
|---|---|---|
| State name 1 | Transition 1 | Transition 2 |
| State name 2 | Transition 3 | Transition 4 |
LIBRARY database