You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| database | String | Name of the database in which the graph has been created.
154
+
| nodeProjection | Map | Node projection used to create the graph. If a Cypher projection was used, this will be a derived node projection.
155
+
| relationshipProjection | Map | Relationship projection used to create the graph. If a Cypher projection was used, this will be a derived relationship projection.
156
+
| nodeQuery | String | Node query used to create the graph. If a native projection was used, this will be `null`.
157
+
| relationshipQuery | String | Relationship query used to create the graph. If a native projection was used, this will be `null`.
158
+
| nodeCount | Integer | Number of nodes in the graph.
159
+
| relationshipCount | Integer | Number of relationships in the graph.
160
+
| schema | Map | Node labels, Relationship types and properties contained in the in-memory graph.
161
+
| degreeDistribution | Map | Histogram of degrees in the graph.
162
+
| density | Float | Density of the graph.
163
+
| creationTime | Datetime | Time when the graph was created.
164
+
| modificationTime | Datetime | Time when the graph was last modified.
165
+
| sizeInBytes | Integer | Number of bytes used in the Java heap to store the graph.
166
+
| memoryUsage | String | Human readable description of `sizeInBytes`.
167
+
|===
129
168
130
-
The `nodeProjection` and `relationshipProjection` columns are primarily applicable to <<native-projection, Native projection>>.
131
-
The `nodeQuery` and `relationshipQuery` columns are applicable only to <<cypher-projection, Cypher projection>> and are `null` for graphs created with Native projection.
169
+
The information contains basic statistics about the graph, e.g., the node and relationship count.
170
+
The result field `creationTime` indicates when the graph was created in memory.
171
+
The result field `modificationTime` indicates when the graph was updated by an algorithm running in `mutate` mode.
132
172
133
173
The `database` column refers to the name of the database the corresponding graph has been created on.
134
174
Referring to a named graph in a procedure is only allowed on the database it has been created on.
135
175
136
176
The `schema` consists of information about the nodes and relationships stored in the graph.
137
177
For each node label, the schema maps the label to its property keys and their corresponding property types.
138
178
Similarly, the schema maps the relationship types to their property keys and property types.
139
-
The property type is either `Integer` or `Float`.
179
+
The property type is either `Integer`, `Float`, `List of Integer` or `List of Float`.
180
+
181
+
The `degreeDistribution` field can be fairly time-consuming to compute for larger graphs.
182
+
Its computation is cached per graph, so subsequent listing for the same graph will be fast.
183
+
To avoid computing the degree distribution, specify a `YIELD` clause that omits it.
184
+
Note that not specifying a `YIELD` clause is the same as requesting all possible return fields to be returned.
140
185
141
186
The `density` is the result of `relationshipCount` divided by the maximal number of relationships for a simple graph with the given `nodeCount`.
142
-
The `creationTime` indicates when the graph was created in memory.
143
-
The `modificationTime` indicates when the graph was updated by an algorithm running in `mutate` mode.
144
-
The `sizeInBytes` yields the number of bytes used in the Java Heap to store that graph.
145
-
The `memoryUsage` is the same information in a human readable format.
146
187
147
-
.List information about the degree distribution of a named graph in the catalog:
188
+
189
+
=== Examples
190
+
191
+
.List basic information about all graphs in the catalog:
0 commit comments