grawkit/tests/06-feature-branch.svg

114 lines
3.5 KiB
XML

<!--
git branch develop
git checkout develop
git commit
git branch feature/XYZ-12_fix-foo
git checkout feature/XYZ-12_fix-foo
git commit
git commit
git checkout develop
git branch feature/ZZ-704_take-it-to-the-limit
git checkout feature/ZZ-704_take-it-to-the-limit
git commit
git checkout develop
git merge feature/XYZ-12_fix-foo
git branch feature/ABC-66_make-bar
git checkout feature/ABC-66_make-bar
git commit
git commit
git checkout develop
git merge feature/ZZ-704_take-it-to-the-limit
-->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="40 -10 465 470">
<style type="text/css"><![CDATA[
.branch {
fill: none;
stroke-width: 10;
stroke-linecap: round;
}
.commit {
fill: #fff;
stroke-width: 5;
}
.label-tag {
fill: #333;
}
.label-rect {
stroke: none;
}
.label-text {
font-family: Inconsolata, Consolas, monospace;
font-size: 14px;
fill: #fff;
stroke: none;
}
.branch-master {stroke: #002b36; fill: #002b36}
.branch-develop {stroke: #268bd2; fill: #268bd2}
.branch-feature-xyz-12-fix-foo {stroke: #859900; fill: #859900}
.branch-feature-zz-704-take-it-to-the-limit {stroke: #cb4b16; fill: #cb4b16}
.branch-feature-abc-66-make-bar {stroke: #2aa198; fill: #2aa198}
]]></style>
<g class="merge">
<g class="branch-feature-abc-66-make-bar">
<path class="branch" d="M50,250 C200,250 200,250 200,300" />
<path class="branch" d="M200,350 L200,450" />
</g>
<g class="branch-feature-zz-704-take-it-to-the-limit">
<path class="branch" d="M50,50 C150,50 150,50 150,200" />
<path class="branch" d="M50,400 C150,400 150,400 150,200" />
</g>
<g class="branch-feature-xyz-12-fix-foo">
<path class="branch" d="M50,50 C100,50 100,50 100,100" />
<path class="branch" d="M50,250 C100,250 100,250 100,150" />
</g>
<g class="branch-develop">
<path class="branch" d="M50,0 C50,0 50,0 50,50" />
<path class="branch" d="M50,400 L50,450" />
</g>
</g>
<g class="branch-feature-abc-66-make-bar">
<path class="branch" d="M200,300 L200,350" />
<circle class="commit" cx="200" cy="300" r="7.5" />
<circle class="commit" cx="200" cy="350" r="7.5" />
<g class="label-branch" transform="translate(250,350)">
<rect x="0" y="-14" width="171" height="24" rx="3" class="label-rect" />
<text x="5" y="2" textLength="161" class="label-text">feature/ABC-66_make-bar</text>
</g>
</g>
<g class="branch-feature-zz-704-take-it-to-the-limit">
<path class="branch" d="M150,200 L150,200" />
<circle class="commit" cx="150" cy="200" r="7.5" />
<g class="label-branch" transform="translate(250,200)">
<rect x="0" y="-14" width="255" height="24" rx="3" class="label-rect" />
<text x="5" y="2" textLength="245" class="label-text">feature/ZZ-704_take-it-to-the-limit</text>
</g>
</g>
<g class="branch-feature-xyz-12-fix-foo">
<path class="branch" d="M100,100 L100,150" />
<circle class="commit" cx="100" cy="100" r="7.5" />
<circle class="commit" cx="100" cy="150" r="7.5" />
<g class="label-branch" transform="translate(250,150)">
<rect x="0" y="-14" width="164" height="24" rx="3" class="label-rect" />
<text x="5" y="2" textLength="154" class="label-text">feature/XYZ-12_fix-foo</text>
</g>
</g>
<g class="branch-develop">
<path class="branch" d="M50,50 L50,400" />
<circle class="commit" cx="50" cy="50" r="7.5" />
<circle class="commit" cx="50" cy="250" r="7.5" />
<circle class="commit" cx="50" cy="400" r="7.5" />
<g class="label-branch" transform="translate(250,400)">
<rect x="0" y="-14" width="59" height="24" rx="3" class="label-rect" />
<text x="5" y="2" textLength="49" class="label-text">develop</text>
</g>
</g>
</svg>