added functionality to connect vertices with edges by clicking on them
added GeneratorDemo