/swish/lib/render/table.pl
AllApplicationManualNameSummaryHelp

  • lib
    • render
      • sudoku.pl -- SWISH Sudoku renderer
      • chess.pl -- SWISH chessboard renderer
      • table.pl -- SWISH table renderer
        • term_rendering//3
      • codes.pl -- SWISH code-list renderer
      • svgtree.pl -- SWISH SVG tree renderer
      • graphviz.pl -- Render data using graphviz
      • c3.pl -- SWISH C3.js based chart renderer
      • url.pl -- SWISH url renderer
      • bdd.pl -- Render Binary Decision Diagrams (BDDs)
      • mathjax.pl -- SWISH Mathjax renderer
      • gvterm.pl -- View complex terms using Graphviz
 term_rendering(+Term, +Vars, +Options)//
Renders Term as a table. This renderer recognises several representations of table-like data:

$ A list of dicts holding the same keys

A list of terms of equal arity
A list of lists of equal length

Options:

header(+Header)
Specify the header row. This is either a row whose number of columns must match the columns in the table or the atom first_row, which causes the first row to be used as header. Multiple header options may be present. The first matching row is used, next the first_row value and if nothing matches no header is displayed.
align(+Alignment)
Specify the column alignment as one of l, c or r or the more verbose left, center, right. Default is left, except for columns holding only integers.
To be done
- : recognise more formats