Function style_cell

  • WARNING: Deprecated, use tags instead Style the cells of a table

    Parameters

    • table_diagram: Diagram

      a diagram of a table

    • styles: cell_style[]

      an array of cell styles each style has an index of the cell and the style e.g. { index : [0,0], fill : 'red', stroke : 'black', strokewidth : 2 } not all styles are required e.g. { index : [0,0], fill : 'red' }

    Returns Diagram

    a new diagram with the cells styled