Press "ctrl" and drag the nodes to create new edges by connecting them. If you finish drawing the edge not on a node, a new node is created. Check out these and other settings here.