draw the graph also with the leaderboard

This commit is contained in:
Filip Gralinski 2016-02-15 22:11:46 +01:00
parent acf3442ce8
commit f83cbb7fb4
2 changed files with 11 additions and 0 deletions

View File

@ -6,3 +6,8 @@ $nothing
<h2>Leaderboard
^{Table.buildBootstrap leaderboardTable leaderboardWithRanks}
<div id="graph-container">
<script src="/static/js/sigma.min.js">
<script src="/static/js/sigma.parsers.json.min.js">

View File

@ -0,0 +1,6 @@
sigma.parsers.json("@{ChallengeGraphDataR $ challengeName challenge}", {
container: 'graph-container',
settings: {
defaultNodeColor: '#ec5148'
}
});