Class Graph
Syntax
[RenamedFrom("Ludiq.Graph")]
public abstract class Graph : IGraph, IObservableDisposable, IDisposable, IPrewarmable, ISerializationDepender, ISerializationDependency, ISerializationCallbackReceiver, IIdentifiable, INotifyPropertyChanged
Constructors
Graph()
Declaration
Properties
deserializationDependencies
Declaration
public IEnumerable<ISerializationDependency> deserializationDependencies { get; }
Property Value
Implements
elements
Declaration
[DoNotSerialize]
public GraphElementMergedCollection elements { get; }
Property Value
Implements
guid
Declaration
[DoNotSerialize]
public Guid guid { get; set; }
Property Value
Implements
icon
Declaration
[DoNotSerialize]
public Texture2D icon { get; set; }
Property Value
Type |
Description |
Texture2D |
|
Implements
IsDisposed
Declaration
[DoNotSerialize]
public bool IsDisposed { get; }
Property Value
Implements
pan
Declaration
[Serialize]
public Vector2 pan { get; set; }
Property Value
Implements
summary
Declaration
[DoNotSerialize]
public string summary { get; set; }
Property Value
Implements
title
Declaration
[DoNotSerialize]
[InspectorPlaceholderLabel("(Title)")]
public string title { get; set; }
Property Value
Implements
zoom
Declaration
[Serialize]
public float zoom { get; set; }
Property Value
Implements
Methods
ChangeGuid(ref Guid, Guid)
Declaration
protected virtual void ChangeGuid(ref Guid guid, Guid newGuid)
Parameters
Type |
Name |
Description |
Guid |
guid |
|
Guid |
newGuid |
|
CreateData()
Declaration
public abstract IGraphData CreateData()
Returns
Implements
Dispose()
Declaration
public virtual void Dispose()
OnAfterDependenciesDeserialized()
Declaration
public void OnAfterDependenciesDeserialized()
Implements
OnAfterDeserialize()
Declaration
public virtual void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public virtual void OnBeforeSerialize()
OnElementsChanged(Object, NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnElementsChanged(object sender, NotifyCollectionChangedEventArgs args)
Parameters
Type |
Name |
Description |
Object |
sender |
|
NotifyCollectionChangedEventArgs |
args |
|
OnInstantiated(GraphReference)
Declaration
public virtual void OnInstantiated(GraphReference instance)
Parameters
Implements
OnPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected virtual void OnPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
Object |
sender |
|
PropertyChangedEventArgs |
args |
|
OnPropertyChanged(String)
Declaration
protected void OnPropertyChanged(string propertyName = "")
Parameters
Type |
Name |
Description |
String |
propertyName |
|
OnStructureChanged(Boolean)
Declaration
protected virtual void OnStructureChanged(bool fromElementCollectionChange)
Parameters
Type |
Name |
Description |
Boolean |
fromElementCollectionChange |
|
OnUninstantiating(GraphReference)
Declaration
public virtual void OnUninstantiating(GraphReference instance)
Parameters
Implements
Prewarm()
Declaration
Implements
ToString()
Declaration
public override string ToString()
Returns
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
PropertyChangedEventHandler |
|
StructureChanged
Declaration
public event Action StructureChanged
Event Type
Extension Methods