Skip to the content

Taisen Brackets対戦

Knockout brackets as SVG, from a list of ties.

Taisen (対戦, たいせん) is Japanese for a matchup: two sides facing each other. About the name

Contents

Reference · Draw a bracket, a table or a road to the final

LAYOUTSconstant

The names of the layouts, the tree first.

Import it

import { LAYOUTS } from "@johnmorrisdotca/taisen-brackets";

Definition

const LAYOUTS: readonly LayoutName[] = Object.freeze(["tree", "rows", "shields", "update", "columns", "playin", "series", "groups", "picture"] as const)

Examples

import { LAYOUTS } from "@johnmorrisdotca/taisen-brackets";

console.log(LAYOUTS);
[
  'tree',    'rows',
  'shields', 'update',
  'columns', 'playin',
  'series',  'groups',
  'picture'
]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/taisen-brackets 0.20.0.