文件名称:GraphViz:一个用于GraphViz的Swift包
文件大小:102KB
文件格式:ZIP
更新时间:2024-04-09 03:24:53
swift graphviz graphviz-dot-language Swift
GraphViz 一个用于Swift软件包。 要求 迅捷5.2+ GraphViz (仅用于渲染) 用法 import GraphViz import DOT var graph = Graph ( directed : true ) let a = Node ( " a " ), b = Node ( " b " ), c = Node ( " c " ) graph. append ( Edge ( from : a, to : b)) graph. append ( Edge ( from : a, to : c)) var b_c = Edge ( from : b, to : c) b_c. constraint = false graph. append (b_c) // Render image using dot layout algorithm let data = t
【文件预览】:
GraphViz-master
----.gitignore(62B)
----Package.swift(1KB)
----README.md(3KB)
----.github()
--------workflows()
----Sources()
--------GraphViz()
--------GraphVizBuilder()
--------DOT()
--------Clibgraphviz()
--------Tools()
----LICENSE.md(1KB)
----Tests()
--------GraphVizTests()
--------GraphVizBuilderTests()
--------LinuxMain.swift(60B)
----Changelog.md(3KB)