implement draw node and drag it