17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
sigma.parsers.json("@{ChallengeGraphDataR $ challengeName challenge}", {
|
|
container: 'graph-container',
|
|
settings: {
|
|
defaultNodeColor: '#ec5148'
|
|
}
|
|
});
|
|
|
|
var columnDefs = $.fn.dataTable.getColumnDefs(#{delta}, #{higherTheBetterArray});
|
|
|
|
$(document).ready(function() {
|
|
$("table").DataTable({
|
|
'pageLength': 50,
|
|
'order': [[2, 'desc'], [#{delta} + columnDefs.length-1, 'desc']],
|
|
'columnDefs': columnDefs
|
|
});
|
|
} );
|