@startuml

title Crear Paquete

skinparam {
    NoteBackgroundColor #whiteSmoke
    ArrowColor #green
    NoteBorderColor #green
    linetype polyline
}

hide empty description

state startState as "GESTIÓN_PAQUETES"

startState --> CrearPaquete
note on link
    <b>Administrador Solicita</b>
    * Crear Paquete de Servicios
end note

state CrearPaquete{
state 2 as " "
state 3 as " "
state 4 <<choice>>

[*] -down-> 2

2 -down-> 3
note on link
<b>Sistema Solicita</b>
* Nombre
* Servicios Incluidos
* Precio
* Descripción
<b>Sistema Permite</b>
* Crear Paquete de Servicios
end note

3 -down-> 4
note on link
<b>Amdinistrador Introduce</b>
* Nombre
* Servicios Incluidos
* Precio
* Descripción
end note

4 -down-> [*]
note on link
<b>Sistema Muestra</b>
* Paquete de Servicios Creado
end note

4 -[#red]-> 2
note on link
<b>Sistema Muestra</b>
* Mensaje de error en los datos introducidos
end note

}

@enduml