GraphvizSpec
Used to configure Graphviz output from Atlas. For barebones output to a .dot file, you can just add the "dev.jonpoulton.atlas.graphviz" gradle plugin. Or for a more fleshed-out config:
atlas {
// other Atlas config
graphviz {
pathToDotCommand = "/custom/path/to/dot"
fileFormat = FileFormat.Svg
layoutEngine = LayoutEngine.Dot
node {
...
}
edge {
...
}
graph {
...
}
}
}Properties
Configure the attributes applied by default to all links between nodes, unless overridden by that link's GraphvizLinkTypeSpec.
Manually interact with output formats from Graphviz. Defaults to FileFormat.Svg.
Configure the attributes applied to the root graph.
Customise the layout engine used to organise your module nodes in the chart. Defaults to LayoutEngine.Dot.
Configure the attributes applied by default to all module nodes, unless overridden by that node's GraphvizModuleTypeSpec.
Use this if you want to specify a "dot" command which isn't on the system path. This should be an absolute path.