Class GraphContext
Syntax
public abstract class GraphContext : IGraphContext, IDisposable
Constructors
GraphContext(GraphReference)
Declaration
protected GraphContext(GraphReference reference)
Parameters
Properties
canvas
Declaration
public ICanvas canvas { get; }
Property Value
Implements
graph
Declaration
public IGraph graph { get; }
Property Value
Implements
graphAccessor
Declaration
public Accessor graphAccessor { get; }
Property Value
Implements
reference
Declaration
public GraphReference reference { get; }
Property Value
Implements
selection
Declaration
public GraphSelection selection { get; }
Property Value
Implements
selectionAccessor
Declaration
public Accessor selectionAccessor { get; }
Property Value
Implements
widgetProvider
Declaration
public WidgetProvider widgetProvider { get; }
Property Value
Implements
Methods
Dispose()
Declaration
public virtual void Dispose()
ElementAccessor(IGraphElement)
Declaration
public Accessor ElementAccessor(IGraphElement element)
Parameters
Returns
Implements
OnGraphPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected virtual void OnGraphPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
Object |
sender |
|
PropertyChangedEventArgs |
args |
|
RecordUndo(String)
Declaration
public virtual void RecordUndo(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Implements
Extension Methods