def _parse_for_element_meta_data(self, meta_data):
        """Load meta data for state elements

        The meta data of the state meta data file also contains the meta data for state elements (data ports,
        outcomes, etc). This method parses the loaded meta data for each state element model. The meta data of the
        elements is removed from the passed dictionary.

        :param meta_data: Dictionary of loaded meta data
        """
        # print("_parse meta data", meta_data)
        for data_port_m in self.input_data_ports:
            self._copy_element_meta_data_from_meta_file_data(meta_data, data_port_m, "input_data_port",
                                                             data_port_m.data_port.data_port_id)
        for data_port_m in self.output_data_ports:
            self._copy_element_meta_data_from_meta_file_data(meta_data, data_port_m, "output_data_port",
                                                             data_port_m.data_port.data_port_id)
        for outcome_m in self.outcomes:
            self._copy_element_meta_data_from_meta_file_data(meta_data, outcome_m, "outcome",
                                                             outcome_m.outcome.outcome_id)
        if "income" in meta_data:
            if "gui" in meta_data and "editor_gaphas" in meta_data["gui"] and \
                    "income" in meta_data["gui"]["editor_gaphas"]:  # chain necessary to prevent key generation
                del meta_data["gui"]["editor_gaphas"]["income"]
        elif "gui" in meta_data and "editor_gaphas" in meta_data["gui"] and \
                "income" in meta_data["gui"]["editor_gaphas"]:  # chain necessary to prevent key generation in meta data
            meta_data["income"]["gui"]["editor_gaphas"] = meta_data["gui"]["editor_gaphas"]["income"]
            del meta_data["gui"]["editor_gaphas"]["income"]
        self._copy_element_meta_data_from_meta_file_data(meta_data, self.income, "income", "")
Load meta data for state elements

        The meta data of the state meta data file also contains the meta data for state elements (data ports,
        outcomes, etc). This method parses the loaded meta data for each state element model. The meta data of the
        elements is removed from the passed dictionary.

        :param meta_data: Dictionary of loaded meta data