嘗試用 GraphViz 畫 Release Line Pattern:
digraph G
{
node [shape=box];
{
edge [arrowhead=none];
rank = same;
"/main" -> "Release 1 Work" -> b1 -> "Release 2 Work" -> mr1fix -> b2;
b2 -> future [arrowhead=normal];
b1 [label="1.0" shape=circle];
mr1fix [label="" shape=circle];
b2 [label="2.0" shape=circle];
future [label="" shape=plaintext];
}
b1 -> r1;
{
edge [arrowhead=none];
rank = same;
r1 -> r1fix -> r1m;
r1 [label="/Release 1"];
r1fix [label="Bug Fixes"];
r1m [label="" shape=circle];
}
r1m -> mr1fix [style=dotted];
b2 -> r2;
{
rank = same;
r2 -> r2future;
r2 [label="/Release 2"];
r2future [label="" shape=plaintext];
}
}
有興趣的人可以參考 An Introduction to GraphViz。