How to read diff result: Difference between revisions

From 清冽之泉
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 25: Line 25:
     "Pride versioning" -> "7";
     "Pride versioning" -> "7";
     "Pride versioning" -> "123";
     "Pride versioning" -> "123";
}
</graphviz>
<graphviz>
digraph G {
    rankdir=TB; // 设置方向为从上到下
    node [shape=record, fontsize=14];
    // 定义 Pride versioning 的节点
    title [shape=none, label="Pride versioning", fontsize=20, fontname="Helvetica-Bold"];
    // 定义版本号节点,使用 port 标记
    version [label="{<proud> 2 | <default> 7 | <shame> 123}", fontsize=16, fontname="Helvetica"];
    // 定义解释文字节点
    proud [shape=plaintext, label="Proud version\nBump when you are\nproud of the release"];
    default [shape=plaintext, label="Default version\nJust normal/okay releases"];
    shame [shape=plaintext, label="Shame version\nBump when fixing things\ntoo embarrassing to admit"];
    // 添加连接
    title -> version;
    version:proud -> proud [arrowhead=none];  // 连接 proud 部分
    version:default -> default [arrowhead=none]; // 连接 default 部分
    version:shame -> shame [arrowhead=none];  // 连接 shame 部分
}
}
</graphviz>
</graphviz>

Revision as of 16:19, 10 January 2025