w.setVisible(false);
figureWidgets.put(f, w);
for (InputSlot s : f.getInputSlots()) {
SlotWidget sw = new InputSlotWidget(s, this, slotLayer, w);
slotWidgets.put(s, sw);
sw.getActions().addAction(selectAction);
}
for (OutputSlot s : f.getOutputSlots()) {
SlotWidget sw = new OutputSlotWidget(s, this, slotLayer, w);
slotWidgets.put(s, sw);
sw.getActions().addAction(selectAction);
}
}
if (getModel().getShowBlocks()) {
for (InputBlock bn : d.getGraph().getBlocks()) {