transition for links and nodes works fine