chore: format rest of the files
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
eb0b2a39f6
commit
25ace54553
3 changed files with 45 additions and 17 deletions
|
@ -1,4 +1,5 @@
|
||||||
# avl
|
# avl
|
||||||
|
|
||||||
WAVL Tree Visualization using D3JS
|
WAVL Tree Visualization using D3JS
|
||||||
|
|
||||||
Simply fork repository and run index.html
|
Simply fork repository and run index.html
|
||||||
|
|
55
index.html
55
index.html
|
@ -1,23 +1,50 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans:600" rel="stylesheet">
|
<link
|
||||||
<link href="style.css" rel="stylesheet">
|
href="https://fonts.googleapis.com/css?family=Open+Sans:600"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
|
<link href="style.css" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<form id="insertTree" onSubmit="return handleInsert()">
|
<form id="insertTree" onSubmit="return insertCallback()">
|
||||||
<input id="insertInput" type="text" placeholder="Number to insert" maxlength="4" size="14" autofocus>
|
<input
|
||||||
<input type="submit" value="Insert">
|
id="insertInput"
|
||||||
</form>
|
type="text"
|
||||||
<form id="deleteTree" onSubmit="return handleDelete()">
|
placeholder="Number to insert"
|
||||||
<input id="deleteInput" type="text" placeholder="Number to delete" maxlength="4" size="14">
|
maxlength="4"
|
||||||
<input type="submit" value="Delete">
|
size="14"
|
||||||
|
autofocus
|
||||||
|
/>
|
||||||
|
<input type="submit" value="Insert" />
|
||||||
</form>
|
</form>
|
||||||
<svg></svg>
|
<form id="deleteTree" onSubmit="return deleteCallback()">
|
||||||
|
<input
|
||||||
|
id="deleteInput"
|
||||||
|
type="text"
|
||||||
|
placeholder="Number to delete"
|
||||||
|
maxlength="4"
|
||||||
|
size="14"
|
||||||
|
/>
|
||||||
|
<input type="submit" value="Delete" />
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<div id="graph" style="text-align: center"></div>
|
||||||
|
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
|
||||||
<script src="https://d3js.org/d3.v4.min.js"></script>
|
|
||||||
<script src="tree-creation.js"></script>
|
<script src="https://d3js.org/d3.v5.min.js"></script>
|
||||||
<script src="tree-visualization.js"></script>
|
<script src="https://unpkg.com/@hpcc-js/wasm@0.3.11/dist/index.min.js"></script>
|
||||||
|
<script src="https://unpkg.com/d3-graphviz@3.0.5/build/d3-graphviz.js"></script>
|
||||||
|
|
||||||
|
<script src="node.js"></script>
|
||||||
|
<script src="ranked_tree.js"></script>
|
||||||
|
<script src="avl.js"></script>
|
||||||
|
<script src="wavl.js"></script>
|
||||||
|
<script src="ravl.js"></script>
|
||||||
|
|
||||||
|
<script src="visualization.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: "Open Sans", sans-serif;
|
||||||
fill: #3498db;
|
fill: #3498db;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
|
|
Loading…
Reference in a new issue