Reference
The road to the final
import { … } from "@johnmorrisdotca/taisen-brackets/road";
Exports
| Name | Kind | What it is |
|---|---|---|
RoadChart | type | What roadToFinal gives back. |
RoadDecided | type | How a match was decided: ft (full time, the default), aet (after extra time) or pens (a shoot-out after extra time). |
RoadFinal | type | The final, when it has been played. |
RoadFinalist | type | A finalist: a team and the matches it played on the way, the earliest first. |
RoadGroupMatch | type | One match of the group stage: as a knockout match, without a round. |
RoadInput | type | What roadToFinal takes: the two finalists with their paths, or a tournament (a list of matchups, { matchups, teams } or a layout) whose final has two sides. |
RoadMatch | type | One match on a finalist's way. |
RoadOptions | type | What roadToFinal takes besides the finalists or the tournament. |
RoadRecord | type | One finalist's record on the way. |
RoadScore | type | A match's score from the finalist's side: [for, against] (numbers, or text such as a series' 4), or one text, "4-2", that is split at its dash. |
RoadSize | type | The sizes of the road chart are the bracket's: card (the default here), square, wide (the finalists at the two ends) and phone. |
RoadTeam | type | A team of a road chart: a Team whose id is optional (a standalone finalist needs only a name), with logo as another name for mark. |
roadToFinal | function | The road to the final: the two finalists as large round marks with their names at the top, each one's matches on its side (the round mark of both teams with the score between them, and FT, AET or the shoot-out under it), the round names down the middle, and the group stage as a compact row of small marks, codes and scores. |
RoadTotals | type | The numbers behind a road chart. |