integerating VisGraph with its controller
finished dynamic interface generated by defining a query object