Package com.tonic.analysis.graph.print
Class SDGPrinter
- java.lang.Object
-
- com.tonic.analysis.graph.print.SDGPrinter
-
public class SDGPrinter extends Object
Renders a system dependence graph as indented plain text, including formal and actual parameter nodes and interprocedural edges.
-
-
Constructor Summary
Constructors Constructor Description SDGPrinter()Creates a printer using the default config.SDGPrinter(GraphPrinterConfig config)Creates a printer with explicit settings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringprint(SDG sdg)Renders the graph to a string.voidprint(SDG sdg, Writer output)Writes the graph as indented text, grouped by procedure or as a flat node list depending on the configuration.
-
-
-
Constructor Detail
-
SDGPrinter
public SDGPrinter()
Creates a printer using the default config.
-
SDGPrinter
public SDGPrinter(GraphPrinterConfig config)
Creates a printer with explicit settings.- Parameters:
config- the rendering settings
-
-