docstr: Initialize TimeRespectingGraphMatcher.
  
  G1 and G2 should be nx.Graph or nx.MultiGraph instances.
  
  Examples
  --------
  To create a TimeRespectingGraphMatcher which checks for
  syntactic and semantic feasibility:
  
  >>> from networkx.algorithms import isomorphism
  >>> from datetime import timedelta
  >>> G1 = nx.Graph(nx.path_graph(4, create_using=nx.Graph()))
  
  >>> G2 = nx.Graph(nx.path_graph(4, create_using=nx.Graph()))
  
  >>> GM = isomorphism.TimeRespectingGraphMatcher(
  ...     G1, G2, "date", timedelta(days=1)
  ... )
docstr_tok: ["Initialize","TimeRespectingGraphMatcher",".","G1","and","G2","should","be","nx.Graph","or","nx.MultiGraph","instances",".","Examples","--","--","--","--","To","create","a","TimeRespectingGraphMatcher","which","checks","for","syntactic","and","semantic","feasibility",":",">",">",">","from","networkx.algorithms","import","isomorphism",">",">",">","from","datetime","import","timedelta",">",">",">","G1","=","nx.Graph","(","nx.path_graph","(","4",",","create_using=nx.Graph","(",")",")",")",">",">",">","G2","=","nx.Graph","(","nx.path_graph","(","4",",","create_using=nx.Graph","(",")",")",")",">",">",">","GM","=","isomorphism.TimeRespectingGraphMatcher","(","...","G1",",","G2",",","``","date","''",",","timedelta","(","days=1",")","...",")"]
code: def __init__(self, G1, G2, temporal_attribute_name, delta):
      """Initialize TimeRespectingGraphMatcher.
  
      G1 and G2 should be nx.Graph or nx.MultiGraph instances.
  
      Examples
      --------
      To create a TimeRespectingGraphMatcher which checks for
      syntactic and semantic feasibility:
  
      >>> from networkx.algorithms import isomorphism
      >>> from datetime import timedelta
      >>> G1 = nx.Graph(nx.path_graph(4, create_using=nx.Graph()))
  
      >>> G2 = nx.Graph(nx.path_graph(4, create_using=nx.Graph()))
  
      >>> GM = isomorphism.TimeRespectingGraphMatcher(
      ...     G1, G2, "date", timedelta(days=1)
      ... )
      """
      self.temporal_attribute_name = temporal_attribute_name
      self.delta = delta
      super().__init__(G1, G2)
  
imports: import networkx
  from .isomorphvf2 import DiGraphMatcher, GraphMatcher
label_desc: Use image node_id 1 to create a new TimeRespectingGraphMatcher object from inherited base classes: GraphMatcher with example: obj = TimeRespectingGraphMatcher(G1, G2, temporal_attribute_name, delta)