Skip to content

Commit 95bf624

Browse files
Merge pull request #221765 from baanders/12-16-full-graph
ADT: Update full graph guidance
2 parents 903d98f + 0d7ba6d commit 95bf624

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

articles/digital-twins/how-to-manage-graph.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ titleSuffix: Azure Digital Twins
55
description: Learn how to manage a graph of digital twins by connecting them with relationships.
66
author: baanders
77
ms.author: baanders # Microsoft employees only
8-
ms.date: 11/08/2022
8+
ms.date: 12/16/2022
99
ms.topic: how-to
1010
ms.service: digital-twins
1111
ms.custom: engagement-fy23
@@ -159,11 +159,21 @@ You can now call this custom method to delete a relationship like this:
159159

160160
:::code language="csharp" source="~/digital-twins-docs-samples/sdks/csharp/graph_operations_sample.cs" id="UseDeleteRelationship":::
161161

162-
## Create graph from a CSV file
162+
## Create multiple graph elements at once
163163

164-
In practical use cases, twin hierarchies will often be created from data stored in a different database, or perhaps in a spreadsheet or a CSV file. This section illustrates how to read data from a CSV file and create a twin graph out of it.
164+
This section describes strategies for creating a graph with multiple elements at the same time, rather than using individual API calls to upload models, twins, and relationships to upload them one by one.
165165

166-
Consider the following data table, describing a set of digital twins and relationships.
166+
### Import graph with Azure Digital Twins Explorer
167+
168+
[Azure Digital Twins Explorer](concepts-azure-digital-twins-explorer.md) is a visual tool for viewing and interacting with your twin graph. It contains a feature for importing a graph file in either JSON or Excel format that can contain multiple models, twins, and relationships.
169+
170+
For detailed information about using this feature, see [Import graph](how-to-use-azure-digital-twins-explorer.md#import-graph) in the Azure Digital Twins Explorer documentation.
171+
172+
### Create twins and relationships from a CSV file
173+
174+
Sometimes, you might need to create twin hierarchies out of data stored in a different database, or in a spreadsheet or a CSV file. This section illustrates how to read data from a CSV file and create a twin graph out of it.
175+
176+
Consider the following data table, describing a set of digital twins and relationships. The models referenced in this file must already exist in the Azure Digital Twins instance.
167177

168178
| Model ID | Twin ID (must be unique) | Relationship name | Target twin ID | Twin init data |
169179
| --- | --- | --- | --- | --- |

articles/digital-twins/how-to-use-azure-digital-twins-explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ In the file selector box that appears, navigate on your machine to a folder cont
384384
385385
#### Limitations of bulk model upload
386386

387-
The limitations in this section apply to models that are contained within a single JSON file, therefore being uploaded at the same time.
387+
The limitations in this section apply to models that are contained within a single JSON file, being uploaded to Azure Digital Twins Explorer at the same time.
388388

389389
While there's no limit to how many models you can include with a single JSON file, there are special considerations for files containing more than 50 models. If you're uploading more than 50 models within the same model file, follow these tips:
390390
* If there are any models that inherit from other models that are defined in the same file, place them near the end of the list.

0 commit comments

Comments
 (0)