Package com.helixframework.rules
Class RuleVisualizer
java.lang.Object
com.helixframework.rules.RuleVisualizer
Creates graphical visualizations of rule graphs.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidasPng(RuleEngine ruleEngine, String filePath) Visualizes the underlying rule graph of the suppliedRuleEngineas a png file.static voidVisualizes the supplied rules as a png file.static voidasSvg(RuleEngine ruleEngine, String filePath) Visualizes the underlying rule graph of the suppliedRuleEngineas an svg file.static voidVisualizes the supplied rules as a svg file.
-
Method Details
-
asPng
Visualizes the underlying rule graph of the suppliedRuleEngineas a png file.- Parameters:
ruleEngine- rule enginefilePath- path of the png file to create
-
asPng
Visualizes the supplied rules as a png file.- Parameters:
rules- rulesfilePath- path of the png file to create
-
asSvg
Visualizes the underlying rule graph of the suppliedRuleEngineas an svg file.- Parameters:
ruleEngine- rule enginefilePath- path of the svg file to create
-
asSvg
Visualizes the supplied rules as a svg file.- Parameters:
rules- rulesfilePath- path of the svg file to create
-