Violet Uml Editor
Violet Uml Editor
Overview
stand-alone application or
behavioural diagrams.
static
dynamic and
Violet UML supports the production of usecase, class, sequence, state, activity and object
diagrams.
USE CASE
Use-case diagrams
To prepare a new blank canvas,
create a new use case diagram
Actor
Select "Actor" on the Violet sidebar
and place the symbol.
In the Actor's properties, alter the
name string to the desired value.
Association Relationship
Use the "Interaction" tool to link an actor to a use
case.
The actor and use case will now be linked by an
association relationship symbol (a line).
Include Relationship
Use the "<<include>>" tool to link one use case
with another.
The use cases will now be linked by an
<<include>> relationship symbol.
Extend Relationship
Use the "<<extend>>" tool to link one use case
with another.
The use cases will now be linked by a dotted
line with an open arrow head. The text
<<extend>> is present above the line.
The extend relationship's arrow symbol should
point from one use case (B) to another (A),
where use case B represents an extension of
the functionality of use case A.
Generalisation Relationship
Use the "Generalization" tool to link one use
case with another.
The use cases will now be linked by an arrow
with a triangular head.
CLASS DIAGRAM
Association
Use the "is associated with" tool to link two
classes, creating a unidirectional association
relationship
- whereby one class calls an operation in
another class but not vice versa.
Aggregation (a-part-of)
Use the "Is an aggregate of" tool to create a link
from one class to another.
The include relationship's diamond symbol
should be adjacent to class (A) linking to another
(B) that represents some subset of the
functionality of class A (indicating that B is a part
of A).
Generalisation (a-kind-of)
Use the "Inherits from" tool to link one class with
another.
The generalisation relationship arrow should
point from the more specific use case to the
more general use case.
SEQUENCE DIAGRAM
Lifeline
When an object is placed a lifeline is
automatically created underneath.
This line will grow as messages are added.
Execution Occurrence (Focus of Control)
Use the "Activation bar" tool to create an
execution occurrence on one of the lifelines.
another,
- to a lifeline of another object (in which case an
execution occurrence is created automatically).
Object Destruction
Object destructions, symbolised by a black X at
the base of a lifeline, indicate the point where an
object is no longer required and its existence
ends.
STATE DIAGRAM
Initial State
Select "Scenario start" on the Violet sidebar and
place the initial state symbol.
This symbol represents the state of the object
when it first appears within the system.
State
Select "State" on the Violet sidebar and place
the symbol.
The name entered in the properties box should
convey the state of the object.
Guard Condition
Where a state may transition to 2 or more
possible future states then guard conditions are
required.
The event name of each transition leading from
the single state to other states is written as a
guard condition.
Guard conditions set the transition to occur if the
condition matches the specified criteria.