parameters: (graph: Graph, node_name, node_type, node_attrs)
return_statement: return OPERATIONS[node_type](graph, node_attrs).create_node()
docstring: Create node in graph
      :param graph: NetworkX model
      :param node_name: node name
      :param node_type: node operation type
      :param node_attrs: node attributes
      :return new node
docstring_summary: Create node in graph
      :param graph: NetworkX model
      :param node_name: node name
      :param node_type: node operation type
      :param node_attrs: node attributes
      :return new node
docstring_tokens: Create node in graph : param graph : NetworkX model : param node_name : node name : param node_type : node operation type : param node_attrs : node attributes : return new node
function: def create_node(graph: Graph, node_name, node_type, node_attrs):
      """ Create node in graph
      :param graph: NetworkX model
      :param node_name: node name
      :param node_type: node operation type
      :param node_attrs: node attributes
      :return new node
      """
      if node_type not in OPERATIONS:
          raise RuntimeError('{} operation is not supported'.format(node_type))
  
      node_attrs['name'] = node_name
  
      return OPERATIONS[node_type](graph, node_attrs).create_node()
function_tokens: def create_node ( graph : Graph , node_name , node_type , node_attrs ) : if node_type not in OPERATIONS : raise RuntimeError ( '{} operation is not supported' . format ( node_type ) ) node_attrs [ 'name' ] = node_name return OPERATIONS [ node_type ] ( graph , node_attrs ) . create_node ( )