Class RuleVisualizer

java.lang.Object
com.helixframework.rules.RuleVisualizer

public final class RuleVisualizer extends Object
Creates graphical visualizations of rule graphs.
  • Method Details

    • asPng

      public static void asPng(RuleEngine ruleEngine, String filePath)
      Visualizes the underlying rule graph of the supplied RuleEngine as a png file.
      Parameters:
      ruleEngine - rule engine
      filePath - path of the png file to create
    • asPng

      public static void asPng(Set<Rule> rules, String filePath)
      Visualizes the supplied rules as a png file.
      Parameters:
      rules - rules
      filePath - path of the png file to create
    • asSvg

      public static void asSvg(RuleEngine ruleEngine, String filePath)
      Visualizes the underlying rule graph of the supplied RuleEngine as an svg file.
      Parameters:
      ruleEngine - rule engine
      filePath - path of the svg file to create
    • asSvg

      public static void asSvg(Set<Rule> rules, String filePath)
      Visualizes the supplied rules as a svg file.
      Parameters:
      rules - rules
      filePath - path of the svg file to create