Search Results for

    Show / Hide Table of Contents

    Class CeresGraphData

    Metadata for CeresGraph

    Inheritance
    object
    CeresGraphData
    FlowGraphSerializedData
    LinkedGraphData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Ceres.Graph
    Assembly: cs.temp.dll.dll
    Syntax
    public class CeresGraphData

    Fields

    nodeData

    Declaration
    public CeresNodeData[] nodeData
    Field Value
    Type Description
    CeresNodeData[]

    nodeGroups

    Declaration
    public NodeGroup[] nodeGroups
    Field Value
    Type Description
    NodeGroup[]

    variableData

    Declaration
    public SharedVariableData[] variableData
    Field Value
    Type Description
    SharedVariableData[]

    Methods

    BuildGraph(CeresGraph)

    Build graph from data

    Declaration
    public virtual void BuildGraph(CeresGraph graph)
    Parameters
    Type Name Description
    CeresGraph graph

    Clone()

    Declaration
    public CeresGraphData Clone()
    Returns
    Type Description
    CeresGraphData

    CloneT<T>()

    Declaration
    public T CloneT<T>() where T : CeresGraphData
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    FromJson<T>(string)

    Deserialize CeresGraphData from json

    Declaration
    public static T FromJson<T>(string serializedData) where T : CeresGraphData
    Parameters
    Type Name Description
    string serializedData
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetFallbackNode(CeresNodeData, int)

    Get fallback node for missing class

    Declaration
    protected virtual CeresNode GetFallbackNode(CeresNodeData fallbackNodeData, int index)
    Parameters
    Type Name Description
    CeresNodeData fallbackNodeData
    int index
    Returns
    Type Description
    CeresNode

    PreSerialization()

    Preprocess before graph data serialized to container

    Declaration
    public virtual void PreSerialization()

    RedirectNodeType(ManagedReferenceType)

    Redirect node type from ManagedReferenceType, default using redirectors from APIUpdateConfig

    Declaration
    protected virtual Type RedirectNodeType(ManagedReferenceType nodeType)
    Parameters
    Type Name Description
    ManagedReferenceType nodeType
    Returns
    Type Description
    Type

    RedirectSerializedType(string)

    Redirect serialized type from , default using redirectors from APIUpdateConfig

    Declaration
    protected virtual Type RedirectSerializedType(string serializedType)
    Parameters
    Type Name Description
    string serializedType
    Returns
    Type Description
    Type

    RedirectVariableType(ManagedReferenceType)

    Redirect variable type from ManagedReferenceType, default using redirectors from APIUpdateConfig

    Declaration
    protected virtual Type RedirectVariableType(ManagedReferenceType nodeType)
    Parameters
    Type Name Description
    ManagedReferenceType nodeType
    Returns
    Type Description
    Type

    ResolveSerializedType(string)

    Resolve type from

    Declaration
    protected Type ResolveSerializedType(string serializedType)
    Parameters
    Type Name Description
    string serializedType
    Returns
    Type Description
    Type

    RestoreNode(int, CeresNode[])

    Declaration
    protected void RestoreNode(int index, CeresNode[] nodes)
    Parameters
    Type Name Description
    int index
    CeresNode[] nodes

    RestoreVariable(int, SharedVariable[])

    Declaration
    protected void RestoreVariable(int index, SharedVariable[] variables)
    Parameters
    Type Name Description
    int index
    SharedVariable[] variables

    ToJson(bool)

    Serialize CeresGraphData to json

    Declaration
    public string ToJson(bool indented = false)
    Parameters
    Type Name Description
    bool indented
    Returns
    Type Description
    string
    In This Article
    Back to top Copyright © 2025 AkiKurisu
    Generated with DocFX