Product Map overview
The Product Map is a powerful feature in the Witboost Marketplace's Product Discovery that allows users to explore relationships between products in a visual and interactive way. It provides an intuitive representation of key metadata dimensions, helping users to discover connections across the assets.
Built-in heatmap layers
By default, the Product Map includes several predefined heatmap layers that provide insights into the structure and governance of products. These layers are available without additional configuration:
| Label | Kind | Key | Description |
|---|---|---|---|
| Connections | number | CONNECTIONS | Sum of input and output products connected to the product. |
| Governance issues | number | RED_FLAGS | Number of error-level policy violations associated with the product. |
| Components | number | COMPONENTS | Number of consumables exposed by the product. |
| Reviews | number | REVIEWS | Number of reviews associated with the product. |
| Publication Date | date | PUBLISHED_AT | Date the product was published. |
These built-in layers are computed dynamically based on internal product metadata and can be used alongside custom layers defined via configuration.
Configure custom heatmap layers
In addition to the built-in layers, organizations can configure custom heatmaps to reflect business-specific dimensions of the data catalog.
Custom layers are defined under the ui.appConfig.mesh.marketplace.ui.visualDiscoveryGraph.layers property as an array of objects, where each object describes a single layer.
Here’s an example of how to configure them:
# inside your values.yaml
ui:
appConfig:
# ... other configurations ...
mesh:
marketplace:
ui:
visualDiscoveryGraph:
layers:
- label: 'Kind'
description: 'Identifies the product type.'
kind: list
key: 'KIND'
path: 'kind'
- label: 'Maturity'
description: 'Indicates the product’s level of maturity within its lifecycle or strategic importance.'
kind: list
key: 'MATURITY'
path: 'maturity'
- label: 'Status'
description: 'Reflects the current lifecycle status of the product.'
kind: list
key: 'STATUS'
path: 'status'
Layer properties
Each custom layer supports the following properties:
label: The name shown in the UI for this layer.description: A description suggesting what heatmap represents.kind: The type of visualization. Allowed values are:list: for categorical values (e.g., kind, status, maturity)number: for numeric values (e.g., count, size)date: for temporal values (e.g., publication date)
key: A unique identifier for the layer. Should be written in uppercase.path: The field extracted from the product descriptor published to the Marketplace. For nested fields, you can use dot notation to access them, but arrays are not supported.
How to add a new custom layer
To add a new layer:
- Identify the field in the product descriptor published to the Marketplace you want to use as the data source.
- Choose the appropriate
kindfor how the value should be visualized:- Use
listfor distinct string values. - Use
numberfor numeric data. - Use
datefor timestamps.
- Use
- Define a unique
keyfor the layer (uppercase recommended). - Set the
pathto the correct metadata field using dot notation.
Configure custom grouping options
The Product Map supports custom grouping functionality that allows users to organize and cluster products based on different metadata dimensions. When grouping options are configured, a "Group By" button appears in the graph interface, opening a drawer where users can select how to group the products.
Custom grouping options are defined under the ui.appConfig.mesh.marketplace.ui.visualDiscoveryGraph.groups property as an array of objects, where each object describes a single grouping dimension.
Each path is relative to the root of the product descriptor published to the Marketplace.
Here's an example of how to configure them:
# inside your values.yaml
ui:
appConfig:
# ... other configurations ...
mesh:
marketplace:
ui:
visualDiscoveryGraph:
groups:
- label: 'Maturity'
path: 'maturity'
- label: 'Product Type'
path: 'kind'
- label: 'Lifecycle Status'
path: 'status'
Group properties
| Property | Description |
|---|---|
label | The name shown in the UI for this grouping option. |
path | The field extracted from the root of the Marketplace product descriptor used for grouping. Supports dot notation for nested fields; arrays are not supported. |
The domain grouping is reserved and will always be included as one of the available grouping options. This means that users will always have the ability to group products by their domain, regardless of the custom grouping options configured.
The field specified in the path property must resolve to a string value. Grouping functionality does not support object or array values. Products whose configured field is missing or resolves to a non-string value appear in an Unknown group for that dimension. Ensure that the metadata field used for grouping contains meaningful and distinct string values to avoid unexpected behavior.
How grouping works
When grouping options are configured:
- A "Group By" button appears in the Product Map interface.
- Clicking the button opens a drawer with available grouping options.
- Users can select up to three grouping dimensions from the drawer.
- Products in the graph are visually clustered based on the selected grouping criteria.
- Users can choose the dimensions in order using First, group by, Then, group by, and Lastly, group by to create a hierarchy of products.
How to add a new custom grouping option
To add a new grouping option:
- Inspect the product descriptor published to the Marketplace and identify the string field you want to use for grouping.
- Choose a descriptive
labelthat will be shown to users in the grouping drawer. - Set the
pathrelative to the root of that Marketplace descriptor, using dot notation for nested fields. - Ensure the field contains categorical values that make sense for grouping products.
Example configuration for grouping options
Here’s an example of how to configure custom grouping options:
For a product whose Marketplace descriptor contains:
maturity: 'Production'
status: 'Active'
Use maturity and status as the grouping paths:
# inside your values.yaml
ui:
appConfig:
# ... other configurations ...
mesh:
marketplace:
ui:
visualDiscoveryGraph:
groups:
- label: 'Maturity'
path: 'maturity'
- label: 'Lifecycle Status'
path: 'status'