adding functions to change graph dynamically
flower shop visualization is working, but need to rewrite some hacks