teamStylesheet
11
import { loadLeague } from "@sportsdataverse/sdvplot";
import { teamStylesheet } from "@sportsdataverse/sdvplot/cytoscape";
await loadLeague("nfl");
const style = teamStylesheet({ league: "nfl", teams: ["KC", "PHI"], background: "#181a1b" });
// in the browser: cytoscape({ container, elements, style })
style.length;
Tags: docstring · teamStylesheet. All sdvplot examples.