You can create a graph expansion instance when a defined graph UID is supplied. For example:
Create a graph expansion request instance
Dim lobjGraphExpansionQuery As IGraphExpansionQuery = New GraphExpansionQuery("DGD_ClassDefPropertyDefs")
When a graph UID is supplied, the graph expansion has two constructors:
-
The first constructor uses the context information from the process cache.
-
The second constructor allows specific context information to be supplied. This executes the graph expansion for the required functionality, such as setting the scope.