-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
44 lines (37 loc) · 1.88 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Splitwise Cashflow</title>
<link rel="shortcut icon" href="facebook-graph.webp" type="image/x-icon" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/5548f5ed00.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
<link rel="stylesheet" href="style.css">
<script src="heap.js"></script>
<script src="script.js" type="module"></script>
</head>
<body>
<nav class="navbar navbar-light " style="font-size: 25px; font-family: sans-serif; background-color: whitesmoke;">
Cash Settlement Project
</nav>
<div id="container">
<div id="mynetwork"></div>
<div id="container2">
<span id="temptext" style="width: 100%; text-align: center; font-size: x-large">
Suppose there are few friends. They have borrowed money from each other. So there will be some cash flow on the network. Our task is to minimize the cash flow in the network. The cash flow among them is given in left side. This cash flow is not minimum; we have to minimize it. Then the final diagram will be like −
Click on solve to get Solution !!
</span>
<div id="mynetwork2" style="display: none"></div>
</div>
</div>
<div>
<br>
<button type="button" class="btn btn-danger" id="generate-graph">Get New Problem</button>
<br>
<button type="button" class="btn btn-success" id="solve">Solve</button>
</div>
</body>
</html>