@startuml
' Define styles
skinparam backgroundColor #ffffff
skinparam activity {
BackgroundColor White
BorderColor Black
}
' Define branches
branch master {
activity "Stable Code" as master_stable
}
branch develop {
activity "Integration Branch" as develop_integration
}
branch feature {
activity "Feature Development" as feature_development
}
branch release {
activity "Release Preparation" as release_preparation
}
branch hotfix {
activity "Hotfixes" as hotfixes
}
' Connect branches
master_stable --> develop_integration : Merge
develop_integration --> feature_development : Create Feature Branch
feature_development --> develop_integration : Merge Feature
develop_integration --> release_preparation : Create Release Branch (Optional)
release_preparation --> master_stable : Merge Release (Optional)
master_stable --> hotfixes : Create Hotfix (Optional)
hotfixes --> master_stable : Merge Hotfix (Optional)
hotfixes --> develop_integration : Merge Hotfix to Develop (Optional)
@enduml