#[non_exhaustive]pub struct Graph {
pub desc: Option<String>,
pub edges: Option<Vec<Edge>>,
pub is_directed: Option<bool>,
pub name: Option<String>,
pub nodes: Option<Vec<Node>>,
pub query_language: Option<String>,
pub query_language_id: Option<i64>,
pub type: Option<String>,
pub uid: Option<String>,
}Expand description
Graph
A graph data structure representation with nodes and edges.
[] Category: | Name: graph
Constraints:
- at_least_one:
[name,uid]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.desc: Option<String>Description
The graph description - provides additional details about the graph’s purpose and contents.
optional
edges: Option<Vec<Edge>>Edges
The edges/connections between nodes in the graph - contains the collection of edge objects defining relationships between nodes.
optional
is_directed: Option<bool>Directed
Indicates if the graph is directed (true) or undirected (false).
optional
name: Option<String>Name
The graph name - a human readable identifier for the graph.
recommended
nodes: Option<Vec<Node>>Nodes
The nodes/vertices of the graph - contains the collection of node objects that make up the graph.
required
query_language: Option<String>Query Language
The graph query language, normalized to the caption of the query_language_id value.
optional
query_language_id: Option<i64>Query Language ID
The normalized identifier of a graph query language that can be used to interact with the graph.
recommended
type: Option<String>Type
The graph type. Typically useful to represent the specific type of graph that is used.
optional
uid: Option<String>Unique ID
Unique identifier of the graph - a unique ID to reference this specific graph.
recommended