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: content/en/kanvas/getting-started/creating-relationships.md
+23-4
Original file line number
Diff line number
Diff line change
@@ -5,11 +5,10 @@ description: >
5
5
weight: 4
6
6
categories: [Designer]
7
7
tags: [designs]
8
-
draft: true
8
+
draft: false
9
9
aliases:
10
10
- /meshmap/getting-started/creating-relationships
11
11
---
12
-
# Creating Relationships
13
12
14
13
## What are Relationships
15
14
@@ -20,6 +19,8 @@ Meshery recognizes different kinds of relationships:
20
19
-**Edge Relationships**: Connections depicting how components interact with each other
21
20
-**TagSets Relationships**: Connections based on shared Labels or Annotations
22
21
22
+
👉 [Learn more about relationships](/kanvas/concepts/relationships/)
23
+
23
24
## Creating Relationships in Kanvas
24
25
25
26
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
35
36
36
37
Kanvas will highlight compatible target components as you drag the connection line, making it easier to identify potential relationships.
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
59
65
60
66
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.
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
73
82
Similar to creation, relationships of different kinds can be deleted in different ways:
74
83
75
84
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
0 commit comments