Graphical programming platform for Internet of Things