Skip to content

Commit 5d2a1e1

Browse files
committed
add visualizations
Signed-off-by: Aabid Sofi <mailtoaabid01@gmail.com>
1 parent e3b928d commit 5d2a1e1

File tree

7 files changed

+23
-4
lines changed

7 files changed

+23
-4
lines changed

content/en/kanvas/getting-started/creating-relationships.md

+23-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ description: >
55
weight: 4
66
categories: [Designer]
77
tags: [designs]
8-
draft: true
8+
draft: false
99
aliases:
1010
- /meshmap/getting-started/creating-relationships
1111
---
12-
# Creating Relationships
1312

1413
## What are Relationships
1514

@@ -20,6 +19,8 @@ Meshery recognizes different kinds of relationships:
2019
- **Edge Relationships**: Connections depicting how components interact with each other
2120
- **TagSets Relationships**: Connections based on shared Labels or Annotations
2221

22+
👉 [Learn more about relationships](/kanvas/concepts/relationships/)
23+
2324
## Creating Relationships in Kanvas
2425

2526
Kanvas provides an interactive interface to create and visualize relationships in your designs. Different types of relationships can be initiated in various ways:
@@ -35,6 +36,8 @@ Edge relationships represent connections between components that interact with e
3536

3637
Kanvas will highlight compatible target components as you drag the connection line, making it easier to identify potential relationships.
3738

39+
![Edge Network Relationships](/kanvas/getting-started/images/relationships/EdgeNetwork.gif)
40+
3841
### Creating Hierarchical Parent-Child Relationships
3942

4043
Hierarchical relationships represent parent-child connections between components. To create a hierarchical relationship:
@@ -44,6 +47,9 @@ Hierarchical relationships represent parent-child connections between components
4447

4548
For example, dragging a Kubernetes Pod into a Namespace creates a hierarchical relationship where the Namespace is the parent of the Pod.
4649

50+
51+
![Create Parent Child Relationships](/kanvas/getting-started/images/relationships/create-parent-child.gif)
52+
4753
### Creating Inventory Wallet Relationships
4854

4955
Similar to Parent-Child relationships, Inventory Wallet relationships represent a relationship where a component is directly attached to another component, such as a sidecar container or WASM filter. These are visualized as a badge at the bottom right corner of the parent component with the number of inventory items displayed as a label.
@@ -59,6 +65,9 @@ MatchLabel relationships (also referred to as TagSets) are automatically created
5965

6066
For example, if you add the same label `app: frontend` to both a Service and a Deployment, Kanvas will automatically establish a MatchLabel relationship between them and visualize it as a tagset around the matching components.
6167

68+
69+
![Create MatchLabel Relationships](/kanvas/getting-started/images/relationships/create-matchlabels.gif)
70+
6271
## Keeping Configuration in Sync
6372

6473
Kanvas leverages Meshery's evaluation engine to maintain dependencies between related components. When components are bound by a relationship, changes in one component can automatically update the configuration of related components.
@@ -73,9 +82,16 @@ The direction of syncronisation depends on the kind of relationships . for paren
7382
Similar to creation, relationships of different kinds can be deleted in different ways:
7483

7584
1. **Edge Relationships**: Can be deleted by clicking the delete button on the edge menu which can be opened by tapping on the edge
76-
2. **Hierarchical Parent-Child Relationships**: Can be deleted by dragging the child component out of the parent
85+
86+
![Delete Edge Relationships](/kanvas/getting-started/images/relationships/delete-edge.gif)
87+
88+
2. **Hierarchical Parent-Child Relationships**: Can be deleted by dragging the child component out of the parent
89+
90+
![Delete Parent Child Relationships](/kanvas/getting-started/images/relationships/delete-parent-child.gif)
91+
92+
<!-- Not implemented yet
7793
3. **Inventory Wallet Relationships**: Can be deleted by clicking the cross icon on the wallet item (coming soon)
78-
4. **MatchLabel Relationships**: Can be deleted by right-clicking on the tagset and selecting delete (coming soon)
94+
4. **MatchLabel Relationships**: Can be deleted by right-clicking on the tagset and selecting delete (coming soon) -->
7995

8096
## What to Expect from Relationships
8197

@@ -94,6 +110,9 @@ Individual relationship kinds can be toggled on or off from the relationships se
94110

95111
This gives you control over which types of relationships you want to focus on in your infrastructure design.
96112

113+
114+
![Relationships Layers Panel](/kanvas/getting-started/images/relationships/layers-panel-relationships.gif)
115+
97116
## Benefits of Using Relationships
98117

99118
- **Improved Visibility**: Clear visual representation of connections between components

0 commit comments

Comments
 (0)