def get_nodes_list_by_process_id(self, process_id):
tmp_nodes = self.diagram_graph.nodes(True)<EOL>nodes = []<EOL>for node in tmp_nodes:<EOL><INDENT>if node[<NUM_LIT:1>][consts.Consts.process] == process_id:<EOL><INDENT>nodes.append(node)<EOL><DEDENT><DEDENT>return nodes<EOL>
Gets all nodes of requested type. If no type is provided by user, all nodes in BPMN diagram graph are returned.
Returns a dictionary, where key is an ID of node, value is a dictionary of all node attributes.

:param process_id: string object, representing an ID of parent process element.