Skip to content

Commit 08febb7

Browse files
authored
Merge pull request #9870 from EnasAbdelrazek/ufc-call-hierarchy
Document the call hierarchy for 11.1
2 parents 096802f + f40c52a commit 08febb7

File tree

5 files changed

+48
-0
lines changed

5 files changed

+48
-0
lines changed

content/en/docs/refguide/modeling/menus/view-menu/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ Menu items of the **View** menu are described in sections below.
5252

5353
The [App Explorer](/refguide/app-explorer/) pane displays the complete structure of your app, including all the documents inside the modules. By default, the active document is always selected, so you can quickly see where the document you are editing is in the tree. You can change this behavior in **Edit** > [Preferences](/refguide/preferences-dialog/).
5454

55+
### Call Hierarchy
56+
57+
The **Call Hierarchy** pane displays the call hierarchy of a document (for example, a page, a microflow, a nanoflow, and more). This pane helps you understand the application connections, allowing you to visualize both incoming and outgoing calls. For more information on the **Call Hierarchy** pane and how to interact with it, see [Call Hierarchy Pane](/refguide/call-hierarchy-pane/).
58+
5559
### Best Practice Recommender {#best-practice-recommender}
5660

5761
For details on this virtual AI assistant, see [Best Practice Recommender](/refguide/best-practice-recommender/).
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "Call Hierarchy Pane"
3+
url: /refguide/call-hierarchy-pane/
4+
weight: 60
5+
description: "Describes the Call Hierarchy pane in Mendix Studio Pro."
6+
---
7+
8+
## Introduction
9+
10+
In large Mendix applications, understanding how different parts of the application interact is important for maintainability, debugging, and identifying the impact of changes. One of the most important tools for this is the Call Hierarchy tree view, which shows how documents such as Pages, Microflows, Nanoflows, and more are interconnected.
11+
12+
This feature helps you understands dependencies and app connections. For example, what microflows are triggered from this page? Which pages call this nanoflow? If I change this microflow, what will be affected?
13+
14+
The Call Hierarchy pane consists of:
15+
16+
* A switch button to toggle between incoming and outgoing calls
17+
* A collapse-all button
18+
* A tree view that visualizes the call hierarchy for the currently-selected document
19+
20+
The Call Hierarchy tree visualizes the full call path in two directions: **Incoming calls** and **Outgoing calls**. This allows you to see where the selected document is used throughout the app (**Incoming calls**) and which other documents it depends on (**Outgoing calls**).
21+
22+
{{< figure src="/attachments/refguide/modeling/menus/view-menu/call-hierarchy-pane/call-hierarchy.png" alt="Call Hierarchy Pane" width="200" >}}
23+
24+
## Show Call Hierarchy
25+
26+
You can visualize the **Call Hierarchy** by right-clicking a document from the **App Explorer** or from within the document editor, then selecting **Show call hierarchy**.
27+
28+
{{< figure src="/attachments/refguide/modeling/menus/view-menu/call-hierarchy-pane/right-click.png" width=200" >}}
29+
30+
The data is calculated in the background and displayed in a tree view with the first level of the tree is expanded. Deeper levels are lazy loaded on expansion, which helps maintain performance in large projects.
31+
32+
## Interacting with the Call Hierarchy Pane
33+
34+
Use the switch button in the pane to toggle between **Incoming calls** and **Outgoing calls**.
35+
36+
* **Incoming calls** - shows the full path of where the currently-selected document is called from elsewhere in the app
37+
* **Outgoing calls** - shows the full path of documents that are called by the currently-selected document
38+
39+
## Supported Document Types
40+
41+
When you select **Show call hierarchy**, it is analyzed to receive its interactions with other documents.
42+
43+
* For **Incoming calls**, it shows the call hierarchy for most common identifiable document types, including pages, microflows, nanoflows, JavaScript actions, Java actions, and more
44+
* For **Outgoing calls**, it shows the call hierarchy for pages, microflows, nanoflows, and rules
164 KB
Loading
63.7 KB
Loading
-1.83 KB
Loading

0 commit comments

Comments
 (0)