Dependency Graph
You can view the topology of deployed services and resources through the dependency graph. Walrus provides dependency graphs at two levels: environment and service/resource.
Environment Dependency Graph
The environment dependency graph includes all services and resources in the environment, as well as their relationships and deployment status.
- Click
Application Management
in the left navigation bar to enter the project and environment. - Click the
Dependency Graph
tab to view the environment dependency graph.
Note: In the dependency graph, sub-nodes that are "implemented" and "inherited" are hidden by default. They can be expanded by clicking on the "Show Sub-resources" icon in the toolbar.
Service/Resource Dependency Graph
The service/resource dependency graph displays all components under the service or resource, as well as their relationships and deployment status.
- Click
Application Management
in the left navigation bar, enter the project and environment, and go to the service or resource detail page. - Under the
Components
tab of component information, click the icon on the right to switch to the graph view.
Dependency Graph Node Relations
The relationships between nodes in the dependency graph can be divided into three categories:
- Composition: A component relationship, represented by a solid line and a diamond arrow
- Dependency: Denotes dependency, represented by a dashed line and a V-shaped arrow
- Realization: Realization or inheritance, represented by a dotted line and a triangular arrow
Graph Toolbar
- View to scale
- Refresh view
- Full screen view
- Toggle display or hide sub-nodes
View Component Logs
- In the dependency graph, select a node that can perform log operations, click the icon in the upper left corner of the node square, and then click
Log
. - You can adjust the size of the log window as needed by stretching it up and down.
Access Component Terminal
- In the dependency graph, select a node that can perform terminal operations, click the icon in the upper left corner of the node square, and then click
Terminal
. - You can adjust the size of the terminal window as needed by stretching it up and down.