PHP Класс izzum\statemachine\utils\PlantUml
This mainly serves as a simple demo.
More diagrams can be created from the data in a persistence layer.
for example:
- activity diagrams: which transitions has en entity actually made (and when)
- flow diagrams: a combination of the state diagram and the activity diagram
(show the full state diagram and highlight the states the entity has
actually gone through)
- heat maps: a count of every state for every entity.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Приватные методы
Описание методов
createStateDiagram()
публичный Метод
creates plantuml state output for a statemachine
public createStateDiagram ( StateMachine $machine ) : string |
$machine |
izzum\statemachine\StateMachine |
|
Результат |
string |
plant uml code, this can be used to render an image |