public void setBondVisibility(int index, boolean b) {
		Frame frame = modelManager.frame;
		if (frame == null)
			return;
		Bond bond = frame.getBondAt(index);
		if (bond != null)
			bond.visible = b;
	}