首页 > 代码库 > graphviz hello world

graphviz hello world

digraph g {
    label="hello world example"
    bgcolor="#00FFD529"//RGBA
    h [label="Hello",shape=folder,color=blue,fontsize=30,style=filled,fillcolor=pink]
    w [label="World",shape=signature]

    h->w [label="basic",
        penwidth=2.0,
        dir=both,
        fontcolor=firebrick,
        arrowhead=lcrow,
        arrowtail=diamondcurve,
        color="green:red;0.5:blue"]
}

技术分享

graphviz hello world