Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.

Latest commit

 

History

History
37 lines (25 loc) · 881 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 881 Bytes

How to use

Extracting graphs

First, you will need a LSRE JSON Graph, which represents both the player names and the set of matches and the matches that you want to analyze.

A LSRE JSON Graph comes in the format of:

type GraphNode = {
    name: string
    id: number
}

type GraphEdge = {
    winner_id: number
    loser_id: number
}

/// The LSRE JSON Graph type
type Graph = {
    players: GraphNode[],
    edges: GraphEdge[]
}

Great examples of graphs can be found in the graphs directory, based on all Quake Pro League seasons.

The easiest way to get graphs is by scraping data from websites using predefined scripts, such as scripts found in the scripts directory, made for Liquipedia.

Using a graph

Once you got a graph ready, just LSRE it with:

cargo run --release graphs/my-graph.json

And LSRE will spit out a JSON with the info you need.