def get_nodes_id_list_by_type(self, node_type):
tmp_nodes = self.diagram_graph.nodes(data=True)<EOL>id_list = []<EOL>for node in tmp_nodes:<EOL><INDENT>if node[<NUM_LIT:1>][consts.Consts.type] == node_type:<EOL><INDENT>id_list.append(node[<NUM_LIT:0>])<EOL><DEDENT><DEDENT>return id_list<EOL>
Get a list of node's id by requested type.
Returns a list of ids

:param node_type: string with valid BPMN XML tag name (e.g. 'task', 'sequenceFlow').