public sealed class Graph : IMessage<Graph>, IEquatable<Graph>, IDeepCloneable<Graph>, IBufferMessage, IMessageReference documentation and code samples for the App Topology v1 API class Graph.
Represents a graph structure composed of nodes and edges.
Namespace
Google.Cloud.AppTopology.V1Assembly
Google.Cloud.AppTopology.V1.dll
Constructors
Graph()
public Graph()Graph(Graph)
public Graph(Graph other)| Parameter | |
|---|---|
| Name | Description |
other |
Graph |
Properties
Edges
public RepeatedField<Edge> Edges { get; }Collection of unique edges connecting the nodes in the graph. Both source
and destination nodes for each edges will be present in the nodes list.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldEdge |
|
Nodes
public RepeatedField<Node> Nodes { get; }A collection of unique nodes that make up the graph.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldNode |
|