2019-05-16 07:57:47 +02:00
|
|
|
/* globals gitGraph */
|
|
|
|
|
2016-12-29 00:44:32 +01:00
|
|
|
$(document).ready(function () {
|
2019-07-16 03:51:46 +02:00
|
|
|
const graphList = [];
|
2019-05-16 07:57:47 +02:00
|
|
|
|
2016-12-29 00:44:32 +01:00
|
|
|
if (!document.getElementById('graph-canvas')) {
|
|
|
|
return;
|
|
|
|
}
|
2019-05-16 07:57:47 +02:00
|
|
|
|
2016-12-29 00:44:32 +01:00
|
|
|
$("#graph-raw-list li span.node-relation").each(function () {
|
|
|
|
graphList.push($(this).text());
|
|
|
|
})
|
2019-05-16 07:57:47 +02:00
|
|
|
|
2016-12-29 00:44:32 +01:00
|
|
|
gitGraph(document.getElementById('graph-canvas'), graphList);
|
|
|
|
})
|