class_docstr: Artist for an igraph.Graph object.
  
  @param graph: An igraph.Graph object to plot
  @param layout: A layout object or matrix of coordinates to use for plotting.
      Each element or row should describes the coordinates for a vertex.
  @param vertex_style: A dictionary specifying style options for vertices.
  @param edge_style: A dictionary specifying style options for edges.
class_docstr_tok: ["Artist","for","an","igraph.Graph","object",".","@","param","graph",":","An","igraph.Graph","object","to","plot","@","param","layout",":","A","layout","object","or","matrix","of","coordinates","to","use","for","plotting",".","Each","element","or","row","should","describes","the","coordinates","for","a","vertex",".","@","param","vertex_style",":","A","dictionary","specifying","style","options","for","vertices",".","@","param","edge_style",":","A","dictionary","specifying","style","options","for","edges","."]
docstr: Track 'contains' event for mouse interactions.
docstr_tok: ["Track","'contains","'","event","for","mouse","interactions","."]
code: def contains(self, mouseevent):
      """Track 'contains' event for mouse interactions."""
      props = {"vertices": [], "edges": []}
      hit = False
      for i, art in enumerate(self._edges):
          edge_hit = art.contains(mouseevent)[0]
          hit |= edge_hit
          props["edges"].append(i)
  
      for i, art in enumerate(self._vertices):
          vertex_hit = art.contains(mouseevent)[0]
          hit |= vertex_hit
          props["vertices"].append(i)
  
      return hit, props
  
imports: from warnings import warn
  from functools import wraps, partial
  from igraph._igraph import convex_hull, VertexSeq
  from igraph.drawing.baseclasses import AbstractGraphDrawer
  from igraph.drawing.utils import FakeModule
  from .edge import MatplotlibEdgeDrawer, EdgeCollection
  from .polygon import HullCollection
  from .utils import find_matplotlib
  from .vertex import MatplotlibVertexDrawer, VertexCollection
label_desc: Use image node_id 20 for calling the GraphArtist obj's underlying member method code with example usage: obj.contains(mouseevent) and returns: hit,  props