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.
파일 보기 프로젝트 열기: rolfvreijdenberger/izzum-statemachine 1 사용 예제들

공개 메소드들

메소드 설명
createStateDiagram ( StateMachine $machine ) : string creates plantuml state output for a statemachine

비공개 메소드들

메소드 설명
escape ( $string )
getPlantUmlSkins ( ) : string get skins for layout
plantUmlStateAlias ( string $original ) : string create an alias for a state that has a valid plantuml syntax

메소드 상세

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