Provides a method to create visualization contexts for graphs.
Use Registry.CreateVisualizationContext to create a Context for a specific graph.
Access visualization features such as port previews through Unity.GraphToolkit.Editor.GraphVisualization.Context.PortPreview.
Dispose of the returned Context when it is no longer needed.
Additional resources: Context, Unity.GraphToolkit.Editor.GraphVisualization.Context.PortPreview
using var context = Registry.CreateVisualizationContext(graph.ID);
| Method | Description |
|---|---|
| CreateVisualizationContext | Creates and registers a new visualization context. |
| GetActiveContext | Retrieves the active Context for the specified graph. |