(self, user, sketch, name, description=None, graph_config=None,
                 graph_elements=None, graph_thumbnail=None, num_nodes=None,
                 num_edges=None)
Initialize the Graph object.

        Args:
            user (User): The user who created the graph.
            sketch (Sketch): The sketch that the graph is bound to.
            name (str): Name of the graph.
            description (str): Description of the graph.
            graph_config (dict): Config used when generating the graph.
            graph_elements (str): Graph in json string format.
            graph_thumbnail (str): Image of graph in Base64 format.
            num_nodes (int): Number of nodes in the graph.
            num_edges (int): Number of edges in the graph.
Initialize the Graph object.
Initialize the Graph object .
def __init__(self, user, sketch, name, description=None, graph_config=None,
                 graph_elements=None, graph_thumbnail=None, num_nodes=None,
                 num_edges=None):
        """Initialize the Graph object.

        Args:
            user (User): The user who created the graph.
            sketch (Sketch): The sketch that the graph is bound to.
            name (str): Name of the graph.
            description (str): Description of the graph.
            graph_config (dict): Config used when generating the graph.
            graph_elements (str): Graph in json string format.
            graph_thumbnail (str): Image of graph in Base64 format.
            num_nodes (int): Number of nodes in the graph.
            num_edges (int): Number of edges in the graph.
        """
        super().__init__()
        self.user = user
        self.sketch = sketch
        self.name = name
        self.description = description
        self.graph_config = graph_config
        self.graph_elements = graph_elements
        self.graph_thumbnail = graph_thumbnail
        self.num_nodes = num_nodes
        self.num_edges = num_edges
def __init__ ( self , user , sketch , name , description = None , graph_config = None , graph_elements = None , graph_thumbnail = None , num_nodes = None , num_edges = None ) : super ( ) . __init__ ( ) self . user = user self . sketch = sketch self . name = name self . description = description self . graph_config = graph_config self . graph_elements = graph_elements self . graph_thumbnail = graph_thumbnail self . num_nodes = num_nodes self . num_edges = num_edges