forked from hugelucker/dfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (24 loc) · 909 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2>Введите кол-во вершин графа</h2>
<input type="number" id="vertices" class="input" placeholder="Кол-во вершин">
<button type="button" id="generator" class="button">Сгенерировать</button>
<h2>Матрица смежности</h2>
<div class="matrix">
</div>
<input type="text" id="start" class="input" placeholder="Начальная вершина">
<button type="button" id="DFS" class="button">DFS</button>
<button type="button" id="BFS" class="button">BFS</button>
<table class="DFS-table">
</table>
<script src="main.js"></script>
</body>
</html>