@staticmethod
def write_export_node_to_file(file_object, export_elements):
    """
        Exporting process to CSV file
        :param file_object: object of File class,
        :param export_elements: a dictionary object. The key is a node ID, value is a dictionary of parameters that
        will be used in exported CSV document.
        """
    for export_element in export_elements:
        file_object.write(export_element['Order'] + ',' + export_element[
            'Activity'] + ',' + export_element['Condition'] + ',' +
            export_element['Who'] + ',' + export_element['Subprocess'] +
            ',' + export_element['Terminated'] + '\n')
