summaryrefslogtreecommitdiffstats
path: root/public/js/draw.js
blob: fd99e1a73dedfa908c9bf8955e213fd79082faba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$(document).ready(function () {
	var graphList = [];
	
	if (!document.getElementById('graph-canvas')) {
		return;
	}
	
	$("#graph-raw-list li span.node-relation").each(function () {
		graphList.push($(this).text());
	})
	
	gitGraph(document.getElementById('graph-canvas'), graphList);
})