Skip to content

rahul-madaan/B-Tree-Visualization-JavaFX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

B-Tree-Visualization-JavaFX

B-Tree Visualization with GUI using JavaFX

Made as a part of CSD Course Principles of Programming Languages at Shiv Nadar University

Inspiration- https://www.cs.usfca.edu/~galles/visualization/BTree.htm

Features

  1. B-Trees of order ranging from 3 to 7 can be visualized.
  2. Height of tree and total number of nodes is displayed on right panel of the GUI window.
  3. Elements can be inserted deleted and searched for.
  4. Animation speed of search operation can be adjusted using a slider in the bottom bar.
  5. All exceptions are handled and appropriate error message is displayed

How to run

  1. Clone the repository
  2. Install the Java-Fx SDK
  3. Run the entire project in a Java Environment and you are good to go!

Screenshots of GUI

Initial Setup

1

B-Tree of order 3

2

B-Tree of order 4

3

B-Tree of order 7

5

Searching node - animation speed: Medium

4

B-Tree Deleting node

2

UML Diagram of the project

1 3

About

B-Tree Visualization with GUI using JavaFX

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages