Test 三角形: Difference between revisions

From 清冽之泉
Jump to navigation Jump to search
No edit summary
No edit summary
Line 55: Line 55:
      
      
     重罪 -> 轻罪 -> 无罪 [style=invis]
     重罪 -> 轻罪 -> 无罪 [style=invis]
}
</graphviz>
<graphviz>
digraph pyramid {
    graph [splines=false, nodesep=0, ranksep=0]
    node [style=filled, fixedsize=true, fontcolor=black]
    重罪 [shape=triangle,  fillcolor=red,  width=1.2, height=0.6, label="重罪", pos="1,3!"]
    轻罪 [shape=trapezium, fillcolor=yellow, width=2.0, height=0.6, label="轻罪", pos="1,2!"]
    无罪 [shape=trapezium, fillcolor=green,  width=3.0, height=0.6, label="无罪", pos="1,1!"]
}
}
</graphviz>
</graphviz>

Revision as of 15:52, 23 September 2025