-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
explorer add edge aggregation (#1626)
* explorer add edge aggregation * Update visualization-mode.md * Update property-calculation.md * Update property-calculation.md
- Loading branch information
1 parent
8a93232
commit 8c31245
Showing
4 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
docs-2.0/nebula-explorer/graph-explorer/property-calculation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Property calculation | ||
|
||
When there are a large number of vertices in the canvas, to enhance the readability and analyzability of the graph, edges with the same start vertex, end vertex and edge type can be aggregated. The aggregated edges can be computed and displayed based on their properties. | ||
|
||
## Prerequisites | ||
|
||
There were [aggregated edges](../canvas-operations/visualization-mode.md) on the canvas. | ||
|
||
## Precautions | ||
|
||
- Currently, only summation is supported. | ||
- Only properties of type INT can be aggregated. | ||
- Users can select multiple Edge types for aggregation separately. | ||
- Users can select multiple properties for aggregation separately. | ||
- An edge can display only one aggregation result. You can hover over the aggregated edge to see all the results. | ||
|
||
## Steps | ||
|
||
### Method 1 | ||
|
||
1. In the left navigation bar, click ![propertyCalculation](https://docs-cdn.nebula-graph.com.cn/figures/icon-nav-propertyCalculation.png) to open the **Property Calculation** panel. | ||
|
||
2. Click **+** and set the edge type, properties and calculation. You can select multiple attributes to be aggregated separately. | ||
|
||
3. Click **Confirm**。 | ||
|
||
Click **+** to add more edge types for property calculation. | ||
|
||
![propertycalculation](https://docs-cdn.nebula-graph.com.cn/figures/propertycalculation-220913-en.png) | ||
|
||
### Method 2 | ||
|
||
1. Right-click the aggregated edge on the canvas and select **Property Calculation**. | ||
|
||
2. Set the properties and calculation. | ||
|
||
3. Click **Confirm**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters