Skip to content

Commit

Permalink
Merge pull request #58 from rodmoioliveira/fix-output
Browse files Browse the repository at this point in the history
Fix output
  • Loading branch information
rodmoioliveira committed May 2, 2020
2 parents 7cdb2a5 + f21b839 commit 3d9ce11
Show file tree
Hide file tree
Showing 242 changed files with 15,733 additions and 2,417 deletions.
109 changes: 53 additions & 56 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@
/>
<meta
name="description"
content="Quando representamos a rede de passes de um time de futebol como um grafo, podemos utilizar diversos instrumentos matemáticos para medir a centralidade de cada um dos seus vértices (jodagores)."
content="When we represent a football team's passing network as a graph,
we can use several mathematical instruments to measure the centrality of
each of its vertices (players)."
/>
<meta name="language" content="pt-br" />
<meta name="author" content="Rodolfo Mói, rodmoi.oliveira@gmail.com" />
<meta name="designer" content="Rodolfo Mói" />
<meta name="copyright" content="Rodolfo Mói" />
<meta name="reply-to" content="rodmoi.oliveira@gmail.com" />
<meta name="owner" content="Rodolfo Mói" />
<meta name="url" content="https://grafos-da-bola.netlify.com/" />
<meta name="identifier-URL" content="https://grafos-da-bola.netlify.com/" />
<meta name="url" content="https://grafos-da-bola.netlify.app/" />
<meta name="identifier-URL" content="https://grafos-da-bola.netlify.app/" />
<meta name="coverage" content="Worldwide" />
<meta name="distribution" content="Global" />
<meta name="rating" content="General" />
Expand All @@ -37,38 +39,35 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="Grafos da Bola" />
<meta itemprop="name" content="Football Passing Networks" />
<meta
itemprop="description"
content="Quando representamos a rede de passes
de um time de futebol como um grafo, podemos utilizar diversos instrumentos
matemáticos para medir a centralidade de cada um dos seus vértices
(jodagores)."
content="When we represent a football team's passing network as a graph,
we can use several mathematical instruments to measure the centrality of
each of its vertices (players)."
/>
<meta itemprop="image" content="img/network.png" />

<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://grafos-da-bola.netlify.com/" />
<meta property="og:url" content="https://grafos-da-bola.netlify.app/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Grafos da Bola" />
<meta property="og:title" content="Football Passing Networks" />
<meta
property="og:description"
content="Quando representamos a rede de
passes de um time de futebol como um grafo, podemos utilizar diversos
instrumentos matemáticos para medir a centralidade de cada um dos seus
vértices (jodagores)."
content="When we represent a football team's passing network as a graph,
we can use several mathematical instruments to measure the centrality of
each of its vertices (players)."
/>
<meta property="og:image" content="img/network.png" />

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Grafos da Bola" />
<meta name="twitter:title" content="Football Passing Networks" />
<meta
name="twitter:description"
content="Quando representamos a rede de
passes de um time de futebol como um grafo, podemos utilizar diversos
instrumentos matemáticos para medir a centralidade de cada um dos seus
vértices (jodagores)."
content="When we represent a football team's passing network as a graph,
we can use several mathematical instruments to measure the centrality of
each of its vertices (players)."
/>
<meta name="twitter:image" content="img/android-chrome-192x192.png" />

Expand Down Expand Up @@ -96,50 +95,45 @@

<!-- Styles -->
<link rel="stylesheet" type="text/css" href="styles/main.css" />
<title>Grafos da Bola</title>
<title>Football Passing Networks</title>
</head>
<body data-theme="light">
<a
href="https://github.com/rodmoioliveira/football-graphs"
class="github-corner"
aria-label="View source on GitHub"
><svg
class="github__svg"
width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: fixed; top: 0; border: 0; right: 0;"
aria-hidden="true"
>
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm"
></path>
<path
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body"
></path></svg
></a>
<section class="intro section">
<h1 class="title">Rede de Passes</h1>
<h1 class="title">Football Passing Networks</h1>
<p class="paragraph">
Uma rede de passes é apenas a aplicação da
<a
target="_blank"
href="https://pt.wikipedia.org/wiki/Teoria_das_redes_complexas"
>
teoria de redes</a
>
e dos seus instrumentos de análise para compreender o desempenho de um
time de futebol em uma partida.
A passing network is just the application of
<a target="_blank" href="https://en.wikipedia.org/wiki/Network_theory">
network theory
</a>
and its analysis tools to understand the performance of a football team
in a match.
</p>
<p class="paragraph">
Cada jogador é representado por um vértice. Cada vértice está conectado
com muitos outros por linhas, que representam os passes trocados entre
os jogadores.
Each player is represented by a vertex. Each vertex is connected with
many others by edges, which represent the passes exchanged between
players.
</p>
</section>
<!-- <section class="metrics section"> -->
Expand Down Expand Up @@ -860,11 +854,10 @@ <h1 class="title">Rede de Passes</h1>
<!-- </section> -->
<div class="sticky-nav-breakpoint"></div>
<section class="graphs section">
<h1 class="title">Copa de 2018</h1>
<h1 class="title">2018 World Cup</h1>
<p class="paragraph">
Vamos ver alguns grafos de jogos da última Copa do Mundo.
Abaixo é possível selecionar diversas métricas diferentes para comparar
o desempenho dos jogadores:
Let's check out the graphs of matches from the last World Cup. Below you
can select several different metrics to compare the players performance:
</p>
<nav class="nav-menu" data-sticky="0">
<button class="btn btn--hamburger" data-active-metrics>
Expand All @@ -873,66 +866,66 @@ <h1 class="title">Copa de 2018</h1>
<span class="btn-strip"></span>
</button>
</nav>
<button class="btn btn--theme-toogle" data-toogle-theme>claro</button>
<button class="btn btn--theme-toogle" data-toogle-theme>light</button>
<nav class="nav-metrics" data-active="0">
<div class="nav-controls">
<fieldset>
<label class="metric-label" for="node-area">Área</label>
<label class="metric-label" for="node-area">Area</label>
<select
class="metric-select"
data-metric="node-area"
name="node-area"
id="node-area"
>
<option class="metric-option" value="degree" selected>
Grau
Degree
</option>
<option class="metric-option" value="betweenness-centrality">
Intermediação
Betweenness
</option>
<option class="metric-option" value="closeness-centrality">
Proximidade
Closeness
</option>
<option
class="metric-option"
value="local-clustering-coefficient"
>
Agrupamento
Clustering
</option>
</select>
</fieldset>
<fieldset>
<label class="metric-label" for="node-color">Cor</label>
<label class="metric-label" for="node-color">Color</label>
<select
class="metric-select"
data-metric="node-color"
name="node-color"
id="node-color"
>
<option class="metric-option" value="degree">
Grau
Degree
</option>
<option
class="metric-option"
value="betweenness-centrality"
selected
>
Intermediação
Betweenness
</option>
<option class="metric-option" value="closeness-centrality">
Proximidade
Closeness
</option>
<option
class="metric-option"
value="local-clustering-coefficient"
>
Agrupamento
Clustering
</option>
</select>
</fieldset>
<fieldset data-fieldset="coverage">
<label class="metric-label" for="coverage">
Abrangência
Coverage
</label>
<select
class="metric-select"
Expand All @@ -941,7 +934,7 @@ <h1 class="title">Copa de 2018</h1>
id="coverage"
>
<option class="metric-option" value="match" selected>
Jogo
Match
</option>
<option class="metric-option" value="global">
Global
Expand All @@ -950,7 +943,7 @@ <h1 class="title">Copa de 2018</h1>
</fieldset>
<fieldset data-fieldset="min-passes-to-display">
<label class="metric-label" for="min-passes-to-display">
Passes mínimos
Minimum passes
<span data-min-passes-value></span>
</label>
<input
Expand All @@ -964,10 +957,14 @@ <h1 class="title">Copa de 2018</h1>
max="50"
/>
</fieldset>
<button class="btn btn--secondary" data-deactivate-metrics>fechar</button>
<button class="btn btn--secondary" data-deactivate-metrics>
close
</button>
</div>
</nav>
<section data-plot-graphs></section>
<section data-plot-graphs>
<h1 class="title title--no-strip">Loading...</h1>
</section>
</section>
<script src="js/main.js" async></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion sh/get_all_world_cup_analysis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ do
printf "===========================================================\n"
clj src/main/io/spit_graph_analysis.clj --id=$id --type=edn
clj src/main/io/spit_graph_analysis.clj --id=$id --type=json
printf "Done!"
printf "Done!\n"
done
Loading

0 comments on commit 3d9ce11

Please sign in to comment.