pattern_clustering.html

Functions used for the HTML rendering

Functions

clustered_lines_to_html

Exports a list of clustered str to HTML.

clusters_to_row_formatter

Builds a RowFormatter from clustering results.

colors_to_html

Exports a list of HTML colors to HTML strings.

lines_to_html

Exports a list of str to HTML.

make_html_colors

Makes a list of num_colors rainbow colors.

pattern_clustering_to_html

Convert pattern_clustering results to HTML.

values_to_colors

Maps some distinguishable values (possibly duplicated) with distinct HTML colors.

Classes

RowFormatter

Functor used to format row (line number) of a file.