pm.addSeparator();
JMenu addMenu = new JMenu("Add");
action = new GraphEditPopupMenuAction("Descendants and dependencies", fGraphPanel);
action.setDescription("Add internal dependencies of the selected node(s) and their dependencies to other nodes in the graph");
action.setCommand(new AddDescendantsAndDependencies(selectedNodes, fGraphPanel.getGraphLoader(), fGraphPanel.getEdgeGrouper()));
addMenu.add(action);
if (selectedNodes.size() > 1) {
addMenu.add(getAddMenuDependenciesBetweenNodes(selectedNodes));
}