Adding touch support for drawing graphs and clicking menu items, which
means adding touch events and getting the addnode/addconnection flows to
work well with touch rules.