Class CsvGraphRenderer

java.lang.Object
dev.archunitjava.report.CsvGraphRenderer

public final class CsvGraphRenderer extends Object
Typed-row CSV rendering of query metadata, nodes, edges, provenance, and evidence.
  • Method Details

    • render

      public static String render(GraphSnapshot snapshot)
      Renders spreadsheet-safe CSV. Cells that spreadsheet programs could interpret as formulas are prefixed with an apostrophe. Use renderMachineReadable(GraphSnapshot) only for lossless machine interchange that will not be opened as a spreadsheet.
    • renderMachineReadable

      public static String renderMachineReadable(GraphSnapshot snapshot)
      Renders lossless machine-readable CSV without spreadsheet formula neutralization.
    • renderBytes

      public static byte[] renderBytes(GraphSnapshot snapshot)
    • renderMachineReadableBytes

      public static byte[] renderMachineReadableBytes(GraphSnapshot snapshot)
      Returns the lossless machine-readable representation as UTF-8 bytes.