SL2 Analyzer
Read a FromSoftware .sl2 save and report what is in it
Loading...
Searching...
No Matches
chart.py File Reference

Go to the source code of this file.

Namespaces

namespace  sl2
 
namespace  sl2.chart
 

Functions

 sl2.chart.mm (text)
 Mermaid takes the label between double quotes, so the label may not contain one; #quot; is its own escape.
 
 sl2.chart.label (lines)
 
 sl2.chart.plural (n, word)
 "1 boss" / "2 bosses".
 
 sl2.chart.hms (sec)
 Format a play time as H:MM:SS, or an em dash when the game does not store one.
 
 sl2.chart.rank (r)
 The number a game counts progress in, for a snapshot's label or table cell.
 
 sl2.chart.rank_cell (r)
 The same value bare, for a table cell whose column is already labelled.
 
 sl2.chart.rank_label (game)
 Header for that column, given the run's game.
 
 sl2.chart.run_chart (rows, parents, restarts, refs, theme=None)
 One run's snapshot tree, as a Mermaid flowchart.
 
 sl2.chart.journey_chart (runs, refs)
 The cross-game journey: one node per run, in the order they were played.
 
 sl2.chart.reference_list (order)
 The reference list every chart node points at.