Graph.model#

relationalai.std.graphs
#Graph.model

Returns the model from which a Graph was created.

Example#

#import relationalai as rai
from relationalai.std.graphs import Graph

model = rai.Model("myModel")
graph = Graph(model)

print(graph.model == model)
# Output:
# True

See Also#