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
Copy file name to clipboardExpand all lines: articles/cosmos-db/create-graph-java.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ The following snippets are all taken from the C:\git-samples\azure-cosmos-db-gra
101
101
102
102
Now go back to the Azure portal to get your connection information and copy it into the app. These settings enable your app to communicate with your hosted database.
103
103
104
-
1. In the [Azure portal](https://portal.azure.com/), click **Keys**.
104
+
1. In the [Azure portal](https://portal.azure.com/), select **Keys**.
105
105
106
106
Copy the first portion of the URI value.
107
107
@@ -160,28 +160,28 @@ Now go back to the Azure portal to get your connection information and copy it i
160
160
161
161
If you experience timeout errors, check that you updated the connection information correctly in [Update your connection information](#update-your-connection-information), and also try running the last command again.
162
162
163
-
Once the program stops, press Enter, then switch back to the Azure portal in your internet browser.
163
+
Once the program stops, select Enter, then switch back to the Azure portal in your internet browser.
164
164
165
165
<a id="add-sample-data"></a>
166
166
## Review and add sample data
167
167
168
168
You can now go back to Data Explorer and see the vertices added to the graph, and add additional data points.
169
169
170
-
1. Click **Data Explorer**, expand **sample-graph**, click **Graph**, and then click **Apply Filter**.
170
+
1. Select **Data Explorer**, expand **sample-graph**, select **Graph**, and then select **Apply Filter**.
171
171
172
172

173
173
174
174
2. In the **Results** list, notice the new users added to the graph. Select **ben** and notice that the user is connected to robin. You can move the vertices around by dragging and dropping, zoom in and out by scrolling the wheel of your mouse, and expand the size of the graph with the double-arrow.
175
175
176
176

177
177
178
-
3. Let's add a few new users. Click the **New Vertex** button to add data to your graph.
178
+
3. Let's add a few new users. Select **New Vertex** to add data to your graph.
179
179
180
180

181
181
182
182
4. In the label box, enter *person*.
183
183
184
-
5. Click**Add property** to add each of the following properties. Notice that you can create unique properties foreach personin your graph. Only the id key is required.
184
+
5. Select**Add property** to add each of the following properties. Notice that you can create unique properties foreach personin your graph. Only the id key is required.
185
185
186
186
key|value|Notes
187
187
----|----|----
@@ -192,31 +192,31 @@ You can now go back to Data Explorer and see the vertices added to the graph, an
192
192
> [!NOTE]
193
193
> In this quickstart you create a non-partitioned collection. However, if you create a partitioned collection by specifying a partition key during the collection creation, then you need to include the partition key as a key in each new vertex.
194
194
195
-
6. Click **OK**. You may need to expand your screen to see **OK** on the bottom of the screen.
195
+
6. Select **OK**. You may need to expand your screen to see **OK** on the bottom of the screen.
196
196
197
-
7. Click **New Vertex** again and add an additional new user.
197
+
7. Select **New Vertex** again and add an additional new user.
198
198
199
199
8. Enter a label of *person*.
200
200
201
-
9. Click **Add property** to add each of the following properties:
201
+
9. Select **Add property** to add each of the following properties:
202
202
203
203
key|value|Notes
204
204
----|----|----
205
205
id|rakesh|The unique identifier for the vertex. If you don't specify an id, one is generated for you.
206
206
gender|male|
207
207
school|MIT|
208
208
209
-
10. Click**OK**.
209
+
10. Select**OK**.
210
210
211
-
11. Click the **Apply Filter** button with the default `g.V()` filter to display all the values in the graph. All of the users now show in the **Results** list.
211
+
11. ClSelectck the **Apply Filter** button with the default `g.V()` filter to display all the values in the graph. All of the users now show in the **Results** list.
212
212
213
-
As you add more data, you can use filters to limit your results. By default, Data Explorer uses `g.V()` to retrieve all vertices in a graph. You can change it to a different [graph query](tutorial-query-graph.md), such as `g.V().count()`, to return a count of all the vertices in the graph in JSON format. If you changed the filter, change the filter back to `g.V()` and click**Apply Filter** to display all the results again.
213
+
As you add more data, you can use filters to limit your results. By default, Data Explorer uses `g.V()` to retrieve all vertices in a graph. You can change it to a different [graph query](tutorial-query-graph.md), such as `g.V().count()`, to return a count of all the vertices in the graph in JSON format. If you changed the filter, change the filter back to `g.V()` and select**Apply Filter** to display all the results again.
214
214
215
-
12. Now you can connect rakesh, and ashley. Ensure **ashley** is selected in the **Results** list, thenclick next to **Targets** on lower right side. You may need to widen your window to see the button.
215
+
12. Now you can connect rakesh, and ashley. Ensure **ashley** is selected in the **Results** list, thenselect next to **Targets** on lower right side. You may need to widen your window to see the button.
216
216
217
217

218
218
219
-
13. In the **Target** box type*rakesh*, and in the **Edge label** box type*knows*, and thenclick the checkbox.
219
+
13. In the **Target** box enter*rakesh*, and in the **Edge label** box enter*knows*, and thenselectthecheck box.
220
220
221
221

0 commit comments