Graph Simulation UI guide

AVAILABILITY
Identity graph linking rules is currently in Limited Availability. Contact your Adobe account team for information on how to access the feature in development sandboxes.

Graph Simulation is a tool in the Identity Service UI that you can use to simulate how an identity graph behaves given a particular combination of identities and how you configure the identity optimization algorithm.

Read this document to learn how you can use Graph Simulation to better understand identity graph behavior and how the graph algorithm functions.

Get to know the Graph Simulation interface interface

You can access Graph Simulation in the Adobe Experience Platform UI. Select Identities from the left navigation and then select Graph Simulation from the top header.

The Graph Simulation interface in the Adobe Experience Platform UI.

The Graph Simulation interface can be divided into three sections:

Events

Events: Use the Events panel to add identities to simulate a graph. A fully qualified identity must have an identity namespace and its corresponding identity value. You must add at least two identities in order to simulate a graph. You can also select Load Example to input a pre-configured event and algorithm setup.

The events panel of the Graph Simulation tool.

Algorithm configuration

Algorithm configuration: Use the Algorithm configuration panel to add and configure the optimization algorithm for your namespaces. You can drag and drop a namespace to modify their respective priority ranking. You can also select Unique Per Graph to determine if a namespace is unique.

The algorithm configuration of the Graph Simulation tool.

Simulated graph viewer

Simulated graph viewer: The simulated graph viewer displays the resulting graph based on the events you added and the algorithm that you configured. A straight line between two identities means that a link is established. A dotted line indicates that a link has been removed.

The simulated graph viewer panel, with an example of a simulated graph.

Add events add-events

To begin, select Add events.

The Add events button selected.

A pop-up window appears for Event #1. From here, input your identity namespace and identity value combination. You can use the dropdown menu to select an identity namespace. Alternatively, you can type in the first few letters of a namespace and then select the options provided in the dropdown menu. Once you have selected your namespace, provide an identity value that corresponds with your namespace.

The Event #1 window with an empty interface.

TIP
The identity value that you input during Graph Simulation exercises do not have to be real identity values and can be simple placeholders.

Once your first identity is complete, select the add icon (+) to add a second identity.

The first fully qualified identity of {Email: tom@acme.com} is inputted in the Events panel of Graph Simulation.

Next, repeat the same steps and add a second identity. Two fully qualified identities are required in order to generate an identity graph. In the example below, an ECID is added as a namespace and is provided with a value of 111. When finished, select Save.

A second identity of {ECID: 111} is added to Event #1.

The Events interface updates to display your first event, which in this case is: {Email: tom@acme.com, ECID: 111}.

The updated events interface with {Email: tom@acme.com, ECID: 111}.

Next, repeat the same steps to add a second event. For Event #2, add {Email: summer@acme.com} as your first identity and then add the same {ECID: 111} as the second identity, thus creating a second event of: {Email: summer@acme.com}, {ECID: 111}. When finished, you should have two events, one for {Email: tom@acme.com, ECID: 111} and one for {Email: summer@acme.com}, {ECID: 111}.

The updated events interface with two events.

Load example load-example

Select Load example to set up an example graph with a pre-set algorithm and event configuration.

The Load example option selected.

A pop-up window appears, providing you with available graph scenarios you can choose from:

Example graph
Description
Example
Shared Device
Shared device refers to scenarios where two different users log in to the same single device.
A husband and wife share an iPad for internet browsing and e-commerce.
Invalid (non-unique) phone
Invalid or non-unique phone refers to scenarios where two different users use the same phone number to create an account.
A mother and her daughter use their shared home phone number to sign up for any e-commerce accounts.
“Bad” identity values
“Bad” identity values refer to scenarios where Identity Service generates non-unique IDFAs due to erroneous implementation.
WebSDK erroneously sends a user_null value for every event due to code implementation issues.

A window that displays the available pre-configured examples: shared device, invalid phone, and bad identity values.

Select any of the options to load Graph Simulation with pre-configured events and algorithm. You can still make further configurations to any pre-loaded graph scenario examples.

The events and algorithm configured for invalid phone.

When finished, select Simulate.

An example graph simulated for invalid phone.

Use text version use-text-version

You can also use text mode to configure events. To use text mode, select the settings icon, and then select Text (Advanced users).

The settings icon selected.

You can manually input your identities with text mode. Use a colon (:) to distinguish the identity value that corresponds with the namespace that you input, and then use a comma (,) to separate your identities. To distinguish different events from one another, use a new line for each event.

The events panel using the text mode version.

Edit event edit-event

To edit an event, select the ellipses (...) beside a given event, and then select Edit.

The edit event icon selected.

Delete event delete-event

To delete an event, select the ellipses (...) beside a given event, and then select Delete.

The delete event icon selected.

Configure algorithm configure-algorithm

IMPORTANT
The algorithm that you configure dictates how Identity Service treats the namespaces that you inputted in your events. Any configuration that you put together in the Graph Simulation UI are not saved in identity settings.

Once you have added your events, you can now configure the algorithm that will be used to simulate your graph. To begin, select Add config.

The algorithm configuration panel.

An empty configuration row appears. First, input the same namespace that you used for your events. In this case, begin by inputting Email. Once you enter your namespace, the columns for Identity Symbol and Identity Type auto-populates.

The first configuration entry.

Next, repeat the same steps and add your second namespace, which in this case is the ECID. Once all of your namespaces have been entered, you can begin configuring their priorities and uniqueness.

  • Namespace priority: The priority of a namespace determines its relative importance compared to the other namespaces in a given identity graph. For example, if your identity graph has four different namespaces: CRMID, ECID, Email and Apple IDFA, you can configure priorities to determine an order of importance for the four namespace.
  • Unique namespace: If a namespace is designated as unique, then Identity Service will generate graphs with the caveat that only one identity with a given unique namespace can exist. For example, if the Email namespace is designated as a unique namespace, then a graph can only have one identity with Email. If there is more than one identity with the Email namespace, then the oldest link will be removed.

To configure namespace priority, select and drag the namespace rows to the priority ordering that you want, with the top row representing higher priority and the bottom row representing lower priority. To designate a namespace as unique, select the Unique Per Graph checkbox.

When finished, select Simulate.

All namespaces configured.

View simulated graph

The Simulated Graph section displays the identity graph(s) generated based on the events that you added and the algorithm that you configured.

Graph icons
Description
Solid line
A solid line represents an established link between two identities.
Dotted line
A dotted line represents a removed link between two identities.
Number on line
A number on a line represents the timestamp of when that given link was generated. The lowest number (1), represents the earliest established link.

In the example graph below, a dotted line exists between {Email: tom@acme.com} and {ECID: 111} because of the following reasons:

  • Email was designated as unique during the algorithm configuration step. Therefore, only one identity with an Email namespace may exist in a graph.
  • The link between {Email: tom@acme.com} and {ECID: 111} was the first established identity (Event #1). It is the oldest link and is therefore removed.

The simulated graph viewer panel, with an example of a simulated graph.

Next steps

By reading this document, you now know how to use the Graph Simulation tool to better understand how your identity data is treated given a particular set of rules and configurations. For more information, read the following documents:

recommendation-more-help
64963e2a-9d60-4eec-9930-af5aa025f5ea