SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Analyze Graph Workspace in SAP HANA Cloud, SAP HANA Database

Learn to use algorithms to analyze and process a Graph Workspace in SAP HANA Cloud, SAP HANA database.

Overview

🎓 advanced 20 min. SAP HANA CloudAdvancedSAP HANA GraphSAP HANA CloudSAP HANA DatabaseSAP HANA Multi Model ProcessingSAP HANA Spatial

You will learn

  • โœ”How to analyze and process your graph using algorithms
  • โœ”How to create visualization for sub-graphs of components in a Graph Workspace
  • โœ”How to perform dependency analysis using a graph
Christoph Morgen C Christoph Morgen February 6, 2025
Created by July 16, 2021
Contributors

Prerequisites

Prerequisites

Steps

Intro

The hana-ml library provides functionalities to analyze and process the graph. In this tutorial, you will learn about algorithms that can help you create sub-graphs of components in a Graph Workspace. Through a dependency analysis of a sample problem, you can also learn about a few special algorithms that assist analysis and visualization of graphs.

The following terms are used in specific contexts:

data-frame : when referring to the logical concept of a data frame

dataframe: when referring to a Python Object


Step 1 Find the information visualized in the graph
โ€”

Execute g_storm.describe() in a new cell of your Jupyter Notebook. This gives you statistical information about the graph like the node’s degree, number of triangles, density, etc.

In this example, let’s focus on IS_CONNECTED, which indicates that you don’t have one connected graph, but multiple independent ones.

statistical Node Information
statistical Node Information

Step 2 Analyze and process your graph using Algorithms
+
Step 3 Store components of the graph in the database
+
Step 4 Create visualization for subgraphs of components
+
Step 5 Dependency analysis: Collect information about a reported problem
+
Step 6 Dependency analysis: Display the nearest vertices to the problem vertex
+
Step 7 Visualize a subgraph to find the dependent factors of the problem
+
Step 8 Complete the dependency analysis
+
Step 9 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 9
1. Find the information visualized in the graph 2. Analyze and process your graph using Algorithms 3. Store components of the graph in the database 4. Create visualization for subgraphs of components 5. Dependency analysis: Collect information about a reported problem 6. Dependency analysis: Display the nearest vertices to the problem vertex 7. Visualize a subgraph to find the dependent factors of the problem 8. Complete the dependency analysis 9. Test yourself

Learn more →