making Graph class generic; working on frontend demo
making Graph class generic; working on frontend demo