class_docstr: Graph drawer that sends a graph to a file-like object (e.g., socket, URL
  connection, file) using the Gephi graph streaming format.
  
  The Gephi graph streaming format is a simple JSON-based format that can be used
  to post mutations to a graph (i.e. node and edge additions, removals and updates)
  to a remote component. For instance, one can open up Gephi
  (U{http://www.gephi.org}), install the Gephi graph streaming plugin and then
  send a graph from igraph straight into the Gephi window by using
  C{GephiGraphStreamingDrawer} with the appropriate URL where Gephi is
  listening.
  
  The C{connection} property exposes the L{GephiConnection} that the drawer
  uses. The drawer also has a property called C{streamer} which exposes the underlying
  L{GephiGraphStreamer} that is responsible for generating the JSON objects,
  encoding them and writing them to a file-like object. If you want to customize
  the encoding process, this is the object where you can tweak things to your taste.
docstr: Draws (i.e. sends) the given graph to the destination of the drawer using
  the Gephi graph streaming API.
  
  The following keyword arguments are allowed:
  
      - C{encoder} lets one specify an instance of C{json.JSONEncoder} that
        will be used to encode the JSON objects.
docstr_tok: ["Draws","(","i.e",".","sends",")","the","given","graph","to","the","destination","of","the","drawer","using","the","Gephi","graph","streaming","API",".","The","following","keyword","arguments","are","allowed",":","-","C","{","encoder","}","lets","one","specify","an","instance","of","C","{","json.JSONEncoder","}","that","will","be","used","to","encode","the","JSON","objects","."]
code: def draw(self, graph, *args, **kwds):
      """Draws (i.e. sends) the given graph to the destination of the drawer using
      the Gephi graph streaming API.
  
      The following keyword arguments are allowed:
  
          - C{encoder} lets one specify an instance of C{json.JSONEncoder} that
            will be used to encode the JSON objects.
      """
      # Positional arguments are not used
      if args:
          warn(
              "Positional arguments to plot functions are ignored "
              "and will be deprecated soon.",
              DeprecationWarning,
              stacklevel=1,
          )
  
      self.streamer.post(
          graph, self.connection, encoder=kwds.get("encoder")
      )
  
file_path: python-igraph/src/igraph/drawing/graph.py
imports: from warnings import warn
  from igraph.drawing.baseclasses import AbstractGraphDrawer, AbstractXMLRPCDrawer
label_desc: Use image node_id 2 for calling the GephiGraphStreamingDrawer obj's underlying member method code with example usage: obj.draw(graph) without return types