Class UpdateAncestorViz

java.lang.Object
io.deephaven.engine.table.impl.util.UpdateAncestorViz

public class UpdateAncestorViz extends Object

Generate visualizations of update graph listeners.

The UpdateAncestorViz class generates visualizations for dependency relationships among UpdateGraph Listener performance entries using data from provided by the update performance tables. It creates representations in the Graphviz DOT format or SVG.

  • Method Details

    • svg

      public static byte[] svg(long[] entryIds, Table updatePerformanceLog, Table updateAncestors, File filename) throws IOException
      Generates an SVG representation of ancestors based on the update performance log and the update performance ancestors log.
      Parameters:
      entryIds - an array of performance entry IDs to traverse and generate a graph for
      updatePerformanceLog - a table containing update performance log data
      updateAncestors - a table containing update ancestor data
      filename - an optional file to which the SVG will be written; if null, the SVG is not written to a file
      Returns:
      a byte array representing the SVG output
      Throws:
      IOException - if an I/O error occurs while writing to the file
    • dot

      public static String dot(long[] entryIds, Table updatePerformanceLog, Table updateAncestors)
      Generates a Graphviz DOT representation of ancestors based on the update performance log and the update performance ancestors log.
      Parameters:
      entryIds - an array of performance entry IDs to traverse and generate a graph for
      updatePerformanceLog - a table containing update performance log data
      updateAncestors - a table containing update ancestor data
      Returns:
      a byte array representing the SVG output