adding iterative traversal animations

This commit is contained in:
Jidong Xiao
2025-04-21 17:24:46 -04:00
committed by JamesFlare1212
parent 7b9d3983ed
commit d0385b27f1
13 changed files with 55754 additions and 1 deletions

View File

@@ -0,0 +1,55 @@
body {
margin: 0;
background-color: #d3d3d3;
font-family: Arial;
}
#main-container {
display: flex;
width: 90%;
margin: 20px auto;
}
#tree-container {
flex: 3;
height: 600px;
border: 2px solid #333;
background-color: #d3d3d3;
}
#stack-container {
flex: 1;
height: 600px;
border: 2px solid #333;
background-color: #f0f0f0;
margin-left: 10px;
padding: 10px;
box-sizing: border-box;
}
#stack-title {
text-align: center;
font-weight: bold;
margin-bottom: 10px;
}
#controls {
text-align: center;
margin-top: 10px;
}
#log, #final-seq, #status {
width: 90%;
margin: 10px auto;
padding: 10px;
background-color: #fff;
border-radius: 4px;
font-size: 16px;
}
#log {
height: 100px;
overflow-y: auto;
}
button {
padding: 10px 20px;
font-size: 16px;
margin: 0 10px;
}
.label {
font-weight: bold;
}