Optional
id: stringOptional
attributes: GraphAttributesObjectOptional
callback: (g: RootGraphModel) => voidOptional
attributes: GraphAttributesObjectOptional
callback: (g: RootGraphModel) => voidOptional
id: stringOptional
callback: (g: RootGraphModel) => voidOptional
callback: (g: RootGraphModel) => void
ModelFactory is an interface that provides a way to create a RootGraphModel object.
Param: id
Optional string parameter that specifies the id of the RootGraphModel object.
Param: attributes
Optional GraphAttributesObject parameter that specifies the attributes of the RootGraphModel object.
Param: callback
Optional callback function that takes a RootGraphModel object as a parameter.
Returns
RootGraphModel - Returns a RootGraphModel object.