2016-02-11 21:54:22 +01:00
|
|
|
sigma.parsers.json("@{ChallengeGraphDataR $ challengeName challenge}", {
|
|
|
|
container: 'graph-container',
|
|
|
|
settings: {
|
|
|
|
defaultNodeColor: '#ec5148'
|
|
|
|
}
|
|
|
|
});
|
2017-05-27 21:30:33 +02:00
|
|
|
|
2018-09-08 09:12:47 +02:00
|
|
|
var columnDefs = $.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray});
|
|
|
|
|
2017-05-27 21:30:33 +02:00
|
|
|
$(document).ready(function() {
|
|
|
|
$("table").DataTable({
|
|
|
|
'pageLength': 50,
|
2018-11-12 10:11:58 +01:00
|
|
|
'order': [[2, 'desc'], [#{delta} + columnDefs.length-1, 'desc']],
|
2018-09-08 09:12:47 +02:00
|
|
|
'columnDefs': columnDefs
|
|
|
|
});
|
2017-05-27 21:30:33 +02:00
|
|
|
} );
|