Class UpdateAncestorViz
java.lang.Object
io.deephaven.engine.table.impl.util.UpdateAncestorViz
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 Summary
Modifier and TypeMethodDescriptionstatic StringGenerates a Graphviz DOT representation of ancestors based on theupdate performance logand theupdate performance ancestors log.static byte[]Generates an SVG representation of ancestors based on theupdate performance logand theupdate performance ancestors log.
-
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 theupdate performance logand theupdate performance ancestors log.- Parameters:
entryIds- an array of performance entry IDs to traverse and generate a graph forupdatePerformanceLog- a table containing update performance log dataupdateAncestors- a table containing update ancestor datafilename- 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
Generates a Graphviz DOT representation of ancestors based on theupdate performance logand theupdate performance ancestors log.- Parameters:
entryIds- an array of performance entry IDs to traverse and generate a graph forupdatePerformanceLog- a table containing update performance log dataupdateAncestors- a table containing update ancestor data- Returns:
- a byte array representing the SVG output
-