CINXE.COM
Creating a Graph_Graph Engine Service_Huawei Cloud
<!DOCTYPE html> <html lang="en-US" site="hk"> <head> <meta name="referrer" content="no-referrer-when-downgrade" /> <link rel="canonical" href="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0003.html" /> <title>Creating a Graph_Graph Engine Service_Huawei Cloud</title> <meta name="keywords" content="Creating a Graph,Getting Started" /> <meta name="description" content="Log in to the GES console and click Create Graph in the upper right corner of the home page. The Create Graph page is displayed.In the Configure tab, set the following pa" /> <meta charset="UTF-8" /> <meta name="applicable-device" content="pc,mobile" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" /> <meta name="baidu-site-verification" content="nsMgQr28vc" /> <meta http-equiv="x-dns-prefetch-control" content="on" /> <meta name="cache" content="pep-disable-cache" /> <script src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/support/resource/framework/js/special_iframe.js"></script> <meta name="templateName" content="doc-common-detail-pep2.0-module" /> <meta name="pep-template-version" content="1.8.77" /> <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests;" /> <meta property="og:title" content="Creating a Graph_Graph Engine Service_Huawei Cloud"> <meta property="og:type" content="website"> <meta property="og:description" content="Log in to the GES console and click Create Graph in the upper right corner of the home page. The Create Graph page is displayed.In the Configure tab, set the following pa"> <meta property="og:url" content="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0003.html"> <meta property="og:site_name" content="Huawei Cloud"> <meta property="og:image" content="https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/seo/og.jpeg"> <meta property="twitter:title" content="Creating a Graph_Graph Engine Service_Huawei Cloud"> <meta property="twitter:type" content="website"> <meta property="twitter:description" content="Log in to the GES console and click Create Graph in the upper right corner of the home page. The Create Graph page is displayed.In the Configure tab, set the following pa"> <meta property="twitter:url" content="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0003.html"> <meta property="twitter:site_name" content="Huawei Cloud"> <meta property="twitter:image" content="https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/seo/twitter.jpeg"> <link rel="icon" href="https://www.huaweicloud.com/favicon.ico"> <link rel="stylesheet" href="https://portal.hc-cdn.com/cnpm-global-resources/1.1.72/css/hk/portal-global.css"> <link rel="stylesheet" href="https://portal.hc-cdn.com/cpage-pep-header-and-footer-hk/2.0.30/index.css"> <link rel="stylesheet" href="https://portal.hc-cdn.com/cnpm-baseui/3.0.16/theme-token.css"> <script src="https://portal.hc-cdn.com/cnpm-global-resources/1.1.16/js/jquery.min.js" crossorigin="anonymous"></script> <!-- --> <meta name="google-site-verification" content="wQwSWDVSYQzH1niLqcUE15XH1_j_rN1T9-mbq2r6Dmw" /> <meta name="sogou_site_verification" content="u4x6sJNooE" /> <link rel="dns-prefetch" href="https://res-static.hc-cdn.cn" /> <link rel="dns-prefetch" href="https://portal.hc-cdn.com" /> <link rel="dns-prefetch" href="https://support.huaweicloud.com" /> <link rel="dns-prefetch" href="https://activity.huaweicloud.com" /> <link rel="dns-prefetch" href="https://portal.huaweicloud.com" /> <link rel="dns-prefetch" href="https://uba.huaweicloud.com" /> <link rel="dns-prefetch" href="https://uba-intl.huaweicloud.com" /> <!-- --> <script> window.dataLayer = window.dataLayer || []; window.$closeBiReport2018 = true window.$siteInfo = window.$siteInfo || {}; window.$siteInfo.site = "hk"; window.$siteInfo.lang = "en-us".replace("_", "-"); </script> <script> (function(){ window.recordTier = window.recordTier || []; window.recordTier.push({eventName: 'dtm.js'}); })(); </script> <script>window.$aioList = [ "" ]; window.$aioCdnPrefix = 'https://res.hc-cdn.com/';</script> <script> window.gConfig = window.gConfig || {}; window.gConfig.isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent); var hClassName; if(window.gConfig.isMobile){ hClassName = ' phone'; }else{ hClassName = ' pc'; } if(window.$aioList) { for(var i=0; i<window.$aioList.length; i++) { if(window.$aioCdnPrefix){ if(window.$aioList[i].length>0) { document.write('<link rel="stylesheet" href="'+window.$aioCdnPrefix+window.$aioList[i]+'/'+(window.gConfig.isMobile?'m':'pc')+'/index.css" />'); } } else { if(window.$aioList[i].length>0) { document.write('<link rel="stylesheet" href="https://res.hc-cdn.com/'+window.$aioList[i]+'/'+(window.gConfig.isMobile?'m':'pc')+'/index.css" />'); } } } } var root = document.documentElement; root.className += hClassName ; </script> <link href="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/zh-cn/support/resource/framework/v3/css/index_revision.css?20240716&sttl=3.0.24" rel="stylesheet" /> <link rel="alternate" hreflang="en-us" href="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="id-id" href="https://support.huaweicloud.com/intl/id-id/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="es-us" href="https://support.huaweicloud.com/intl/es-us/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="pt-br" href="https://support.huaweicloud.com/intl/pt-br/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="tr-tr" href="https://support.huaweicloud.com/intl/tr-tr/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="ar-ae" href="https://support.huaweicloud.com/intl/ar-mena/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="th-th" href="https://support.huaweicloud.com/intl/th-th/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="zh-hk" href="https://support.huaweicloud.com/intl/zh-cn/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="ja-jp" href="https://support.huaweicloud.com/intl/ja-jp/qs-ges/ges_05_0003.html" /> <link rel="alternate" hreflang="x-default" href="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0003.html" /> <script> // 规避资料不规范出现这两个未定义的方法 function image_size() { } function highlightSearch() { } </script> </head> <body class="scrolled"> <div id="header" bi_parent_name="navigation" meta-data-adjust-app="hide"> <div class="header-container"> <div class="header-prompt"> <div class="header-prompt-wrapper"> <div class="header-prompt-content"> <i class="por-icon por-icon-error"></i> <p>检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 <a href="https://www.huaweicloud.com/intl/zh-cn">https://www.huaweicloud.com/intl/zh-cn</a></p> </div> <div class="header-prompt-radio"> <i class="header-prompt-checkbox active"></i> <p>不再显示此消息</p> <i class="header-prompt-closed por-icon por-icon-close"></i> </div> </div></div> <div class="header-topnav"> <div class="header-topnav-wrapper"> <li class="header-lang "> <div class="header-lang-current"><i class="header-icon-earth"></i><span class="header-lang-label">Intl-English</span><i class="header-icon-arrow-down"></i></div> <div class="header-lang-list"> <div class="header-site" bi_parent_name="International"> <div class="header-site-left">International</div> <ul class="header-site-right"> <li class="header-lang-item active"><a href="javascript:changeLangNew('en-us')">English</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('id-id')">Bahasa Indonesia</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('es-us')">Español</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('pt-br')">Português</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('tr-tr')">Türkçe</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('ar-mena')">عربي</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('th-th')">ไทย</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('zh-cn')">简体中文</a></li> <li class="header-lang-item"><a href="javascript:changeLangNew('ja-jp')">日本語</a></li> </ul> </div> <div class="header-site" bi_parent_name="中国站"> <div class="header-site-left">中国站</div> <ul class="header-site-right"> <li class="header-lang-item"><a href="//www.huaweicloud.com/">简体中文</a></li> </ul> </div> <div class="header-site" bi_parent_name="Europe"> <div class="header-site-left">Europe</div> <ul class="header-site-right"> <li class="header-lang-item"><a href="//www.huaweicloud.com/eu/">English</a></li> <li class="header-lang-item"><a href="//www.huaweicloud.com/eu/de-de/">Deutsch</a></li> <li class="header-lang-item"><a href="//www.huaweicloud.com/eu/es-es/">Español</a></li> <li class="header-lang-item"><a href="//www.huaweicloud.com/eu/fr-fr/">Français</a></li> <li class="header-lang-item"><a href="//www.huaweicloud.com/eu/nl-nl/">Nederlands</a></li> </ul> </div> </div> </li> </div></div> <div class="header-wrapper"> <div class="header-bottom"> <div class="header-bottom-wrapper"> <a class="header-logo" rel="nofollow" bi_name="logo" title="Huawei Cloud" href="https://www.huaweicloud.com/intl"> <img src="https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/yunying/new-header/logo.png" alt="Huawei Cloud"> </a> <div class="header-nav"> <div class="header-nav-scroll"> <ul class="header-nav-list"> <li data-key="activity"> <a data-href="https://activity.huaweicloud.com/intl/en-us/promotion/index.html"> <span>Activities</span> </a> </li> <li data-key="product"> <a data-href="https://www.huaweicloud.com/intl/en-us/product/"> <span>Products</span> </a> </li> <li data-key="solution"> <a data-href="https://www.huaweicloud.com/intl/en-us/solution/"> <span>Solutions</span> </a> </li> <li data-key="price"> <a data-href="https://www.huaweicloud.com/intl/en-us/pricing.html"> <span>Pricing</span> </a> </li> <li data-key="market"> <a data-href="https://marketplace.huaweicloud.com/intl/"> <span>KooGallery</span> </a> </li> <li data-key="partner"> <a data-href="https://www.huaweicloud.com/intl/en-us/partners/"> <span>Partners</span> </a> </li> <li data-key="developers"> <a data-href="https://developer.huaweicloud.com/intl/en-us/"> <span>Developers</span> </a> </li> <li data-key="support"> <a data-href="https://www.huaweicloud.com/intl/en-us/service/index.html"> <span>Support</span> </a> </li> <li data-key="about"> <a data-href="https://www.huaweicloud.com/intl/en-us/about/index.html"> <span>About Us</span> </a> </li> </ul> </div> <div class="header-bottom-mask"></div> <div class="header-nav-hover-line"></div> </div> <div class="header-tools"> <div class="header-search J-header-search simplify" bi_parent_name="search"> <form class="header-search-inner J-serach-form" tabindex="-1" data-api-search-url="https://www.huaweicloud.com/intl/en-us/s/" data-api-report="https://portal-intl.huaweicloud.com/stats/pip.gif" data-api-hot="https://www.huaweicloud.com/rest/portal/v1/banner?position=hot_search_json" data-api-autoword="https://portal-intl.huaweicloud.com/rest/cbc/portalsearchcorrectorservice/v1/search" data-default-hot="Free Packages,Elastic Cloud Server (ECS),Cloud Backup and Recovery (CBR),Host Security Service (HSS),Cloud Container Engine (CCE)"> <div class="header-search-content J-search-content"> <input class="J-search-input" id="header-navigation-search-input" maxlength="128" type="text" data-active-placeholder="Search" autocomplete="off"> <div class="close-icon"></div> <button type="submit" class="header-search-submit" bi_name="#header-navigation-search-input"> <i></i> </button> <i class="por-icon por-icon-cancel header-search-close J-search-close"></i> <div class="header-search-droplist J-search-drop J-search-autoword" data-clickable-asyn="true"> <div class="J-search-hot"> <div class="J-search-popular"> <div class="J-search-title">Hot</div> <ul class="J-search-popular-content"> <li><a>Free Packages</a></li> <li><a>Elastic Cloud Server (ECS)</a></li> <li><a>Cloud Backup and Recovery (CBR)</a></li> <li><a>Host Security Service (HSS)</a></li> <li><a>Cloud Container Engine (CCE)</a></li> </ul> </div> </div> <div class="J-search-related"> <ul></ul> <div class="J-search-keyWordsAll"><a>Show more results for “<span></span>” <i class="header-icon-arrow-right"></i></a></div> </div> </div> </div> </form> <div class="header-search-button"> <input class="search-default" type="text" data-active-placeholder="搜索" autocomplete="off" placeholder="搜索"> <i></i> </div> </div> <div class="header-menu-search-mb"> <span class="header-icon-search"></span> </div> <ul class="header-tools-right header-main"> <li><a href="https://www.huaweicloud.com/intl/en-us/contact-sales.html" rel="nofollow">Contact Us</a></li> <li><a href="https://support.huaweicloud.com/intl/en-us/index.html">Documentation</a></li> <li><a href="https://console-intl.huaweicloud.com/?locale=en-us" rel="nofollow">Console</a></li> <li class="header-login-mobile"> <span class="header-icon-user js-login"></span> <div class="header-user-info user-info-layer user-unlogin header-backdrop"> <ul class="header-user-info-list account-nav"> <li class="header-user-info-item-account account-item"><a href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/accountindex/accountInfo" target="_blank" bi_name="My Account" rel="nofollow">My Account</a></li> <li><a href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/userindex/allview" target="_blank" bi_name="Billing & Costs" rel="nofollow">Billing & Costs</a></li> <li><a href="https://console-intl.huaweicloud.com/ticket/?locale=en-us#/ticketindex/serviceTickets" target="_blank" bi_name="Service Tickets" rel="nofollow">Service Tickets</a></li> <li class="message"><a href="https://console-intl.huaweicloud.com/mc/?locale=en-us#/" target="_blank" bi_name="Unread Messages" rel="nofollow">Unread Messages</a></li> <li><a href="https://console-intl.huaweicloud.com/?locale=en-us" target="_blank" bi_name="Console" class="mb-special" rel="nofollow">Console</a></li> <li class="isVendor" style="display: none;"><a href="https://account-intl.huaweicloud.com/obmgr/?locale=en-us#/obmgr/index" target="_blank" bi_name="Partner Center" rel="nofollow">Partner Center</a></li> <li class="header-user-info-split "></li> <li class="header-user-info-item-account account-item button-container"> <a class="header-user-info-button-common" data-login-href="https://auth.huaweicloud.com/authui/login.html?locale=en-us&service=" href="https://auth.huaweicloud.com/authui/login.html?locale=en-us&service=" target="_blank" rel="nofollow">Sign In</a> <a class="header-user-info-button-red js-register" data-register-href="https://reg.huaweicloud.com/registerui/intl/m/register.html?hwid=login&locale=en-us&service=" href="https://reg.huaweicloud.com/registerui/intl/m/register.html?hwid=login&locale=en-us&service=" target="_blank" rel="nofollow">Sign Up</a> </li> </ul> </div></li><li class="header-login"><a data-login-href="https://auth.huaweicloud.com/authui/login?locale=en-us&service=" href="https://auth.huaweicloud.com/authui/login?locale=en-us&service=" rel="nofollow" class="btn js-login">Sign In</a></li> <li class="header-register"><a href="https://reg.huaweicloud.com/registerui/intl/register.html?locale=en-us&service=" class="btn js-register" rel="nofollow"> Sign Up </a></li><li class="header-user user-info"> <div class="header-user-avator"> <img class="header-tool-user-avator-img account-pic lazyload" data-src="//res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/web_resoure/cms/static/v2_resources/images/global/headPic.png?sttl=20180413"> </div> <div class="header-user-name"><span class="my-acct"></span><i class="header-nav-item-icon"></i></div> <div class="header-user-info user-info-layer header-backdrop"> <ul class="header-user-info-list account-nav"> <li class="header-user-info-item-account account-item"> <a href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/accountindex/accountInfo" target="_blank" bi_name="My Account" rel="nofollow">My Account</a> <a class="restricted" href="https://account-intl.huaweicloud.com/usercenter/?#/complete" target="_blank" bi_name="Complete Sign Up"> <i></i> <span>Complete Sign Up</span> </a> </li> <li><a href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/userindex/allview" target="_blank" bi_name="Billing & Costs" rel="nofollow">Billing & Costs</a> </li> <li><a href="https://console-intl.huaweicloud.com/ticket/?locale=en-us#/ticketindex/serviceTickets" target="_blank" bi_name="Service Tickets" rel="nofollow">Service Tickets</a> </li> <li class="message"><a href="https://console-intl.huaweicloud.com/mc/?locale=en-us#/" target="_blank" bi_name="Unread Messages" rel="nofollow">Unread Messages</a></li> <li><a href="https://console-intl.huaweicloud.com/?locale=en-us" target="_blank" bi_name="Console" class="mb-special" rel="nofollow">Console</a> </li> <li class="isVendor" style="display: none;"><a href="https://account-intl.huaweicloud.com/obmgr/?locale=en-us#/obmgr/index" target="_blank" bi_name="Partner Center" rel="nofollow">Partner Center</a></li> <li class="header-user-info-split "></li> <li class="logout"> <a href="#" class="bottom-username" rel="nofollow"><span class="my-acct"></span></a> <a class="logout-btn" mate_data_ts="intl_v3_top_navigation.click.logout_20170820" href="https://portal-intl.huaweicloud.com/index/logout" rel="nofollow">Log Out</a> </li> </ul> </div></li> </ul> <div class="header-menu-mb" bi_name="HamburgNavigation" data-clickable="true"> <span></span> <span></span> <span></span> </div></div> </div></div> <script type="text/html" id="holder-drop"></script> <script type="text/html" id="holder-mbnav"></script> <div class="header-mbshearch header-backdrop" bi_parent_name="search_mb"> <div class="header-mbshearch-innner"> <form class="header-mbshearch-form" action method="get" data-api-search-url="https://www.huaweicloud.com/intl/en-us/s/" data-api-hot="https://www.huaweicloud.com/rest/portal/v1/banner?position=hot_search_json" data-api-report="https://portal-intl.huaweicloud.com/stats/pip.gif" data-api-autoword="https://portal-intl.huaweicloud.com/rest/cbc/portalsearchcorrectorservice/v1/search" data-default-hot="Free Packages,Elastic Cloud Server (ECS),Cloud Backup and Recovery (CBR),Host Security Service (HSS),Cloud Container Engine (CCE)"> <div class="header-mbshearch-form-row"> <div><div class="header-mbshearch-input-box"><i class=""></i><input type="text" maxlength="128" class="header-mbshearch-input" autocomplete="off"></div></div> <div><a class="header-mbshearch-cancel">Cancel</a></div> </div> </form> <div class="header-mbshearch-droplist" data-clickable-asyn="true"> <div class="J-mbshearch-hot"> <div class="J-mbshearch-popular"> <div class="J-mbshearch-title">Hot</div> <ul class="J-mbshearch-popular-content"> <li><a>Free Packages</a></li> <li><a>Elastic Cloud Server (ECS)</a></li> <li><a>Cloud Backup and Recovery (CBR)</a></li> <li><a>Host Security Service (HSS)</a></li> <li><a>Cloud Container Engine (CCE)</a></li> </ul> </div> </div> <ul class="J-mbshearch-related"> </ul> </div> </div></div> </div> </div></div> <script> var htmlLang = $("html").attr("lang") || "en-US"; htmlLang = htmlLang.toLocaleLowerCase(); var langMatch = true; function getUrlLang(){ var langUrlReg = /intl\/([a-zA-Z\-]*)\//i; var urlLang = langUrlReg.test(location.pathname)?location.pathname.match(langUrlReg)[1]:"en-us"; return urlLang; } var urlLang = getUrlLang(); function isLangMatch(){ // 多语言插件导航优先取当前url语言 return htmlLang === urlLang; } langMatch = isLangMatch(); if(!langMatch && urlLang !== 'ar-mena'){ var $langArr = urlLang.split('-'); $("#header .header-container").hide(); htmlLang = urlLang; $("html").attr("lang", $langArr[0]+"-"+$langArr[1].toUpperCase()); } // 国际站移动端文字超长情况下自适应宽度 $('body').addClass('por-tab-self-adaption') </script> <div id="content" class="help-page home-page" bi_parent_name="support"> <div bi_parent_name="hk-content"> <div> <a id="support-hidden-menu" hidden href="/intl/en-us/ges/v3_support_leftmenu_fragment.html"></a> <a id="support-hidden-index" hidden href="/intl/en-us/support_all_doc_fragment.html "></a> </div> <div class="support-section support-content" id="support-content"> <div class="support-body" bi_parent_name="ges_main"> <div class="wrapper"> <div class="support-section support-nav" id="support-nav"></div> <script> !(function (win, $) { !(function initAllDoc() { const origin = window.location.origin; const url = `${origin}/intl/en-us/support_all_doc_fragment.html`; $.ajax({ type: 'get', url: url, timeout: 6000, success: function (data) { initBase(data); }, }); })(); function initBase(allDoc) { let url = ''; let code = 'ges' || ''; const origin = window.location.origin; if (code === 'pcre' && queryString('product')) { code = queryString('product'); } if (code) { url = `${origin}/intl/en-us/${code}/v3_support_leftmenu_fragment.html`; } $.ajax({ type: 'get', url: url, timeout: 6000, success: function (data) { initCommon(data, allDoc, code); }, }); } function queryString(key) { var url = window.location.href; var val = url.match(new RegExp('[?&]' + key + '=([^&#]*)(&?)', 'i')); return val ? val[1] : val; } function initCommon(data, allDoc, code) { var peplang = $('html').attr('lang').toLowerCase(); var scripts = [ "https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/support/resource/framework/js/common_revision.min.js?20240716&sttl=3.0.24", "https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/support/resource/framework/js/maintainable_revision.min.js?20240716&sttl=3.0.24" ]; $(data).find('ul.help-tsr li.nav-item').eq(1).find('a').attr('target', '_blank').removeClass('ajax-nav'); $('#support-nav').html($(data)); $('#support-nav').find('.side-nav-menu .side-menu-box').html($(allDoc)); if (peplang === 'es-us' || peplang === 'pt-br' || peplang === 'ja-jp') { $('#support-nav .side-nav').find('.nav-item.level1').each((_index, item) => { if ($(item).attr('data-append') === 'false' && $(item).next().attr('data-append') === 'true') { $(item).after(`<li class="nav-item level1 append-tip"><a style="padding: 0;font-size: 12px;overflow: visible;max-height: initial;-webkit-line-clamp: initial;">The content is not currently available in your target language. View in English.</a></li>`); } if ($(item).attr('data-append') === 'true') { $(item).find('a').attr('target', '_blank'); } }) }; for(var i = 0; i < scripts.length; i++) { var script = document.createElement('script'); script.type = 'text/javaScript'; script.setAttribute('crossorigin','anonymous'); script.src = scripts[i]; document.getElementsByTagName('body')[0].appendChild(script); }; } !(function () { var sWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; if (sWidth >= 768) { $('.side-menu-box .item.item-search-mb').remove(); } else { $('.side-menu-box .item.item-search-pc').remove(); } })(); })(window, jQuery); </script> <div class="support-main" data-handbook-type="qs"> <span class="move-line"></span> <div class="crumbs"> <a class="link help-link" href="/intl/en-us/index.html" mate_data_ts_v2="en-us_support_detail_ges_breadcrumb.click_Help Center">Help Center</a><span>/</span> <a class="link help-link" href="https://support.huaweicloud.com/intl/en-us/ges/index.html" mate_data_ts_v2="en-us_support_detail_ges_breadcrumb.click_Graph Engine Service">Graph Engine Service</a><span>/</span> <a class="link help-link" href="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0001.html" mate_data_ts_v2="en-us_support_detail_ges_breadcrumb.click_Getting Started">Getting Started</a><span>/</span> <span class="text">Creating a Graph</span> </div> <div class="help-content cf" data-current-handbookcode="qs-ges" data-handbook-type="qs"> <div id="adOutsideDiv"><div id="helpAdDiv"></div></div> <div class="updateTime"> Updated on <span class="updateInfo">2022-11-15 GMT+08:00</span> <div class="doc-tips"> </div> </div> <div class="help-view-pdf" mate_data_ts_v2="en-us_support_detail_ges.click_View PDF"> <a target="_blank" href="https://support.huaweicloud.com/intl/en-us/qs-ges/qs-ges.pdf"><i></i><span>View PDF</span></a> </div> <div class="help-view-share"> <a href="javascript:void(0);"><i></i><span>Share</span></a> <div class="share-content"> <ul class="share-list"> <li class="share-item share-x-com" mate_data_ts_v2="en-us_support_detail_ges.click_x.com"> <a href="javascript:void(0);"><i></i><span>x.com</span></a> </li> <li class="share-item share-facebook" mate_data_ts_v2="en-us_support_detail_ges.click_Facebook"> <a href="javascript:void(0);"><i></i><span>Facebook</span></a> </li> <li class="share-item share-linked-in" mate_data_ts_v2="en-us_support_detail_ges.click_LinkedIn"> <a href="javascript:void(0);"><i></i><span>LinkedIn</span></a> </li> <li class="share-item share-copy" mate_data_ts_v2="en-us_support_detail_ges.click_copy_link"> <a href="javascript:void(0);"><i></i><span data-copy-text="Copy link" data-copied-text="Copied">Copy link</span></a> </li> </ul> </div> </div> <div class="share-item share-copy-fixed"> <i class="copy-success"></i> <p>Copied.</p> <span class="copy-close"></span> </div> <a name="ges_05_0003"></a><a name="ges_05_0003"></a> <h1 class="topictitle1">Creating a Graph</h1> <div id="body0000001309513025"> <div class="section" id="ges_05_0003__section98841710299"> <a name="ges_05_0003__section98841710299"></a><a name="section98841710299"></a> <h4 class="sectiontitle">Creating a Custom Graph</h4> <ol id="ges_05_0003__ol1210517254109"> <li id="ges_05_0003__li61051255108">Log in to the GES console and click <strong id="ges_05_0003__b035112404584">Create Graph</strong> in the upper right corner of the home page. The <strong id="ges_05_0003__b5352164055812">Create Graph</strong> page is displayed.</li> <li id="ges_05_0003__li1084217336119">In the <strong id="ges_05_0003__b7792143361213">Configure</strong> tab, set the following parameters: <ul id="ges_05_0003__ul12171172152612"> <li id="ges_05_0003__li4171182162613"><strong id="ges_05_0003__b465514538181">Graph Name</strong>: Use the default name. After a graph is created, its name cannot be changed.</li> <li id="ges_05_0003__li19891331133919"><strong id="ges_05_0003__b2857155151817">GES Software Version</strong>: The system uses the latest version by default.</li> <li id="ges_05_0003__li173993723213"><strong id="ges_05_0003__b859842991911">VPC</strong>: If your account has VPCs, a VPC will be automatically selected. You can change it as needed. If no VPC is available, you need to create a VPC. After the VPC is created, it will be automatically selected.</li> <li id="ges_05_0003__li17558103021813"><strong id="ges_05_0003__b56483317194">Subnet</strong>: A subnet is automatically selected. Change it to the subnet where the cluster will be created. Click <strong id="ges_05_0003__b5111635121510">View VPC</strong> and go to the subnet page to view available subnets.</li> <li id="ges_05_0003__li1270412388420">Other options: Use the default values. <div class="fignone" id="ges_05_0003__fig7606194541516"> <span class="figcap"><b>Figure 1 </b>Network information</span> <br><span><img id="ges_05_0003__image1360714501517" src="https://support.huaweicloud.com/intl/en-us/qs-ges/en-us_image_0000001321374861.png"></span> </div> <div class="fignone" id="ges_05_0003__fig71733472513"> <span class="figcap"><b>Figure 2 </b>Graph parameters</span> <br><span><img id="ges_05_0003__image11181834182511" src="https://support.huaweicloud.com/intl/en-us/qs-ges/en-us_image_0000001452311373.png"></span> </div></li> </ul></li> <li id="ges_05_0003__li15733817494">Click <span class="parmvalue" id="ges_05_0003__parmvalue1498070185011"><b>Next</b></span>. In the displayed <strong id="ges_05_0003__b1757587202218">Confirm</strong> tab, click <span class="uicontrol" id="ges_05_0003__uicontrol563119624916"><b>Submit</b></span>.</li> <li id="ges_05_0003__li18224125616249">The <span class="wintitle" id="ges_05_0003__wintitle993614355910"><b>Finish</b></span> tab is displayed indicating the submission is successful. Click <span class="uicontrol" id="ges_05_0003__uicontrol129431835593"><b>Back to Task Center</b></span> to view the status and running result of the created graph.</li> </ol> </div> </div> </div> <script> (function ($) { $.fn.bigrender = function (opts) { var winHeight = document.documentElement.clientHeight; var sum = 0; var count = 0; var flash = new Array(); // 'class' 是textarea父节点的类;'textarea' 是textarea标签的类;'threshold'是距离进入屏幕还有150像素就开始渲染;'remove'是否删除textarea标签 options = $.extend({ 'class': '.br-warp', 'textarea': '.br-rendered', 'threshold': 150, 'remove': true, }, opts); $brenders = $(options.class); // 渲染首屏的内容 initBigrender(); // 绑定滚动条事件 scrollDisplay(); // 函数定义 function initBigrender() { $brenders.each(function (n, object) { sum++; if (isRender($(this))) { display($(this)); count++; flash[n] = true; } else { flash[n] = false; } }); } // 判断时候需要渲染 function isRender(object) { offsetTop = object.offset().top; ojh = object.outerHeight(true); st = Math.max(document.body.scrollTop || document.documentElement.scrollTop); if (offsetTop + ojh + options.threshold >= st && offsetTop - options.threshold < (st + winHeight)) { return true; } else return false; } // 渲染textarea内的html代码 function display(object) { $display = object.find(options.textarea).eq(0); if (options.remove) { object.append($display.val()); $display.remove(); } else { object.append($display.val()); } } // 屏幕绑定滚动条事件,当待渲染的内容进入可视屏幕就触发isRender函数 function scrollDisplay() { $(window).scroll(function () { if (count < sum) { $brenders.each(function (n, object) { if (!flash[n]) { if (isRender($(this))) { display($(this)); count++; flash[n] = true; } } }); } }); } }; })(jQuery); window.addEventListener('DOMContentLoaded', function (event) { $.fn.bigrender({ 'threshold': 100 }); }); $(document).data('ajaxNav') && $(document).data('ajaxNav').addEvent('load', function () { $.fn.bigrender({ 'threshold': 100 }); }); </script> <div class="help-detail-feedback "> <div class="action"> <p class="prev"> <span class="label js-title"></span> <a class="link help-link js-title" href="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0002.html" mate_data_ts_v2="en-us_support_detail_ges.click_Previous topic: Preparations">Previous topic: Preparations</a> </p> <p class="next"> <span class="label js-title"></span> <a class="link help-link js-title" href="https://support.huaweicloud.com/intl/en-us/qs-ges/ges_05_0004.html" mate_data_ts_v2="en-us_support_detail_ges.click_Next topic: Importing Graph Data">Next topic: Importing Graph Data</a> </p> </div> </div> <div class="relevant-content"> <div class="doc-bottom-feedback"> <h3 class="feedback-title"> <i></i><span>Feedback</span> </h3> <div class="help-form" bi_parent_name="feedback"> <h3>Was this page helpful?</h3> <div class="help-form-content"> <a href="javascript:void(0)" class="help-form-btn help-btn-use" mate_data_ts_v2="en-us_support_detail_ges_bottomfeedback.click_有帮助"> <span>Helpful</span> <i class="help-form-y"></i> </a> <a href="javascript:void(0)" class="help-form-btn help-btn-unuse" mate_data_ts_v2="en-us_support_detail_ges_bottomfeedback.click_没帮助"> <span style="width: 90px;">Not helpful</span> <i class="help-form-n"></i> </a> </div> <a class="help-form-btn provide-feedback" mate_data_ts_v2="en-us_support_detail_ges_bottomfeedback.click_提供反馈">Provide feedback</a> <input type="hidden" id="help_type" value="help_doc" /> <div class="por-tip success help-form-success"> <div class="por-tip-content"> <i class="por-icon por-icon-success"></i> <div class="por-tip-wenzi"> <p>Thank you very much for your feedback. We will continue working to improve the documentation.<span class="logged-text-str">See the reply and handling status in <a href="https://developer.huaweicloud.com/intl/en-us/console/support/my-suggestion" target="_blank">My Cloud VOC</a>.</span></p> <span class="por-tip-remove"></span> </div> </div> </div> <div class="por-tip error help-form-false"> <div class="por-tip-content"> <i class="por-icon por-icon-error"></i> <div class="por-tip-wenzi"> <span>The system is busy. Please try again later.</span> <span class="por-tip-remove"></span> </div> </div> </div> <form action="" data-evaluate-level="high"> <p class="support-mast low-level">Which of the following issues have you encountered?</p> <div class="support-question por-checkbox-card-pane low-level"> <div class="por-checkbox-card-group"> <div class="por-checkbox-card-group-inner"> <div class="por-checkbox-card-group-content"> <div class="por-checkbox-card"> <input class="por-native" type="checkbox" name="question" value="Content is inconsistent with the product UI" /> <span>Content is inconsistent with the product UI</span> </div> <div class="por-checkbox-card"> <input class="por-native" type="checkbox" name="question" value="Unclear descriptions" /> <span>Unclear descriptions</span> </div> <div class="por-checkbox-card"> <input class="por-native" type="checkbox" name="question" value="Lack of examples or code" /> <span>Lack of examples or code</span> </div> <div class="por-checkbox-card"> <input class="por-native" type="checkbox" name="question" value="Incorrect steps" /> <span>Incorrect steps</span> </div> <div class="por-checkbox-card"> <input class="por-native" type="checkbox" name="question" value="Can't find what I need" /> <span>Can't find what I need</span> </div> <div class="por-checkbox-card"> <input class="por-native" type="checkbox" name="question" value="Lack of best practices" /> <span>Lack of best practices</span> </div> </div> </div> </div> </div> <p class="support-mast">Feedback <span class="optional">(optional)</span></p> <div class="textarea-wrapper"> <textarea maxlength="500" rows="10" cols="30" placeholder="Your comments and suggestions are greatly appreciated."></textarea> <div class="textarea-numbers"><span>0</span>/500</div> </div> <p class="important choose"> <span class="por-icon por-icon-error"></span>Select at least one type of issue, and enter your comments or suggestions. </p> <p class="important length"><span class="por-icon por-icon-error"></span>Enter a maximum of 500 characters.</p> <a href="javascript:void(0)" class="por-btn por-btn-primary submit" mate_data_ts_v2="en-us_support_detail_ges_bottomfeedback.click_直接提交">Submit</a> <a href="javascript:void(0)" class="por-btn por-btn-secondary false" mate_data_ts_v2="en-us_support_detail_ges_bottomfeedback.click_取消">Cancel</a> </form> <div class="contact-decs"> <p>For any further questions, feel free to contact us through the chatbot.</p> <a href="https://console-intl.huaweicloud.com/smartadvisor/" class="help-form-more" target="_blank" mate_data_ts_v2="en-us_support_detail_ges_bottomfeedback.click_智能客服提问">Chatbot </a> </div> </div> </div> </div> </div> <div class="guide-buoy" mate_data_ts_v2="en-us_support_detail_ges_introduction.open"></div> <div class="guide-model"> <div class="img-container" mate_data_ts_v2="en-us_support_detail_ges_introduction.close"></div> </div> </div> </div> </div> </div> </div> <div class="footer-service" meta-data-adjust-app="hide"></div> <div id="footer"> <div class="footer-nav"> <div class="footer-wrapper"> <div class="footer-nav-left"> <div class="footer-submenu-links"> <a class="footer-submenu-link" href="https://www.huaweicloud.com/intl/en-us/contact-sales.html" rel="nofollow">Contact Sales</a> <a class="footer-submenu-link" href="https://console-intl.huaweicloud.com/ticket/?region=ap-southeast-1&locale=en-us#/ticketindex/createIndex" rel="nofollow">After-Sales</a> <a class="footer-submenu-link" href="https://www.huaweicloud.com/intl/en-us/service/help-tools.html" rel="nofollow">Self Service</a> </div> <ul class="footer-law-mb"> <li><a href="https://www.huaweicloud.com/intl/en-us/declaration-sg/sa_st.html" rel="nofollow">Site Terms</a></li> <li><a href="https://www.huaweicloud.com/intl/en-us/declaration-sg/sa_prp_intl.html" rel="nofollow">Privacy Statement</a></li> </ul> <ul class="footer-nav-icons"> <li> <a class="footer-link footer-icon-wrapper" href="https://twitter.com/HuaweiCloud1" target="_blank" rel="nofollow"> <i style="background-image: url('https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/推特-default.png')" class="footer-icon"></i> <i style="background-image: url('https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/推特-hover.png')" class="footer-icon-hover"></i> </a> </li> <li> <a class="footer-link footer-icon-wrapper" href="https://www.youtube.com/user/HuaweiCloudComputing" target="_blank" rel="nofollow"> <i style="background-image: url('https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/yunying/new-header/1692235623225415471.png')" class="footer-icon"></i> <i style="background-image: url('https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/形状结合备份.svg')" class="footer-icon-hover"></i> </a> </li> <li> <a class="footer-link footer-icon-wrapper" href="https://www.linkedin.com/showcase/3718023" target="_blank" rel="nofollow"> <i style="background-image: url('https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/yunying/new-header/1692235623231746773.png')" class="footer-icon"></i> <i style="background-image: url('https://res-static.hc-cdn.cn/cloudbu-site/intl/en-us/形状备份.svg')" class="footer-icon-hover"></i> </a> </li> </ul> </div> <div class="footer-nav-main"> <div class="footer-nav-column"> <p class="footer-menu-title">Explore Huawei Cloud</p> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/about/index.html" target="_blank" rel="nofollow">Why Us</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/cases.html" target="_blank" rel="nofollow">Customer Stories</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/securecenter/overallsafety.html" target="_blank" rel="nofollow">Trust Center</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/declaration-sg/sa_cua.html" target="_blank" rel="nofollow">Legal</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/news.html" target="_blank" rel="nofollow">Press Releases</a> </div> <div class="footer-nav-column"> <p class="footer-menu-title">Featured Services</p> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/product/ecs.html" target="_blank">Elastic Cloud Server (ECS)</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/product/eip.html" target="_blank">Elastic IP (EIP)</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/product/mysql.html" target="_blank">RDS for MySQL</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/product/evs.html" target="_blank">Elastic Volume Service (EVS)</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/product/mrs.html" target="_blank">MapReduce Service (MRS)</a> </div> <div class="footer-nav-column"> <p class="footer-menu-title">Service and Support</p> <a class="footer-menu-link" href="https://support.huaweicloud.com/intl/en-us/index.html" target="_blank">Documentation</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/contact-sales.html" target="_blank">Contact Us</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/notice.1.html" target="_blank">Public Notices</a> <a class="footer-menu-link" href="https://www.huaweicloud.com/intl/en-us/service/supportplans.html" target="_blank">Support Plans</a> <a class="footer-menu-link" href="https://status.service.huaweicloud.com/intl/#/home" target="_blank">Service Health Dashboard</a> </div> <div class="footer-nav-column"> <p class="footer-menu-title">Account and Payment</p> <a class="footer-menu-link" href="https://account-intl.huaweicloud.com/usercenter/#/userindex/balanceRecharge" target="_blank" rel="nofollow">Top Up</a> <a class="footer-menu-link" href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/userindex/invoiceCenter" target="_blank" rel="nofollow">Invoices</a> <a class="footer-menu-link" href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/userindex/allview" target="_blank" rel="nofollow">Billing Center</a> <a class="footer-menu-link" href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/accountindex/accountInfo" target="_blank" rel="nofollow">My Account</a> <a class="footer-menu-link" href="https://account-intl.huaweicloud.com/usercenter/?locale=en-us#/userindex/creditsList" target="_blank" rel="nofollow">Payment Method</a> </div> <div class="footer-nav-column"> <p class="footer-menu-title">Quick Links</p> <a class="footer-menu-link" href="https://www.huawei.com/en/" target="_blank" rel="nofollow">Huawei Corporate</a> <a class="footer-menu-link" href="https://e.huawei.com/en/" target="_blank" rel="nofollow">Huawei Enterprise</a> <a class="footer-menu-link" href="https://consumer.huawei.com/en/?utm_source=huaweicloud&utm_medium=footer" target="_blank" rel="nofollow">Huawei Consumer Business</a> <a class="footer-menu-link" href="https://developer.huawei.com/consumer/en/" target="_blank" rel="nofollow">Huawei Developers</a> </div> </div> </div> </div> <div class="footer-copyright-container"> <div class="footer-wrapper footer-copyright-wrapper"> <div class="footer-copyright"> <p>© 2024, Huawei Cloud Computing Technologies Co., Ltd. and/or its affiliates. All rights reserved.</p> </div> <ul class="footer-law"> <li><a class="footer-link" href="https://www.huaweicloud.com/intl/en-us/declaration-sg/sa_st.html" rel="nofollow">Site Terms</a></li> <li><a class="footer-link" href="https://www.huaweicloud.com/intl/en-us/declaration-sg/sa_prp_intl.html" rel="nofollow">Privacy Statement</a></li> </ul> </div> </div> </div> <script src="https://portal.hc-cdn.com/cnpm-global-resources/1.1.72/js/hk/portal-global.js?sttl=3.0.24&ttr=1.1.72" crossorigin="anonymous"></script> <script> function refreshHeader($tmpForPEP){ $("#header .header-container").empty().append($tmpForPEP.querySelector("#header .header-container").innerHTML); $("#header .header-topnav").empty().append($tmpForPEP.querySelector("#header .header-topnav").innerHTML); $("#footer .footer-nav").empty().append($tmpForPEP.querySelector("#footer .footer-nav").innerHTML); $("#footer .footer-copyright-container").empty().append($tmpForPEP.querySelector("#footer .footer-copyright-container").innerHTML); $("#header .header-container").show(); } function getHeaderScript(){ var scripts = [ "https://portal.hc-cdn.com/cpage-pep-header-and-footer-hk/2.0.30/header-and-footer-hk.umd.js?sttl=3.0.24&ttr=1.1.72", "https://portal.hc-cdn.com/cnpm-global-resources/1.1.72/js/hk/portalLoginHK.js?sttl=3.0.24&ttr=1.1.72" ]; for(var i = 0; i < scripts.length; i++) { var script = document.createElement('script'); script.type = 'text/javaScript'; script.setAttribute('crossorigin','anonymous'); script.src = scripts[i]; document.getElementsByTagName('body')[0].appendChild(script); } } // 国际站英文导航下拉 var domain = (window.location.origin.indexOf('.huaweicloud.com') > -1 || window.location.origin.indexOf('.huaweisre.com') > -1)? 'prod' : 'dev'; var originsWhiteList = ['https://www.huaweicloud.com','https://activity.huaweicloud.com','https://support.huaweicloud.com','https://beian.huaweicloud.com']; var currentOrigin = originsWhiteList.includes(window.location.origin)?window.location.origin:'https://www.huaweicloud.com'; var url = currentOrigin+"/intl/en-us/common/header-footer-hk-en-us-2023.html"; var $tmpForPEP = document.createElement("div"); $.ajax({ url: url, async: true, timeout: 1e4, success: function(response) { $tmpForPEP.innerHTML = response; // 下拉部分 $("#footer").append($tmpForPEP.querySelector("#edit-header-drop").innerHTML); if(window.langMatch === false){ refreshHeader($tmpForPEP); } getHeaderScript(); }, error:function(){ $("#header .header-container").show(); getHeaderScript(); } }); </script> <style> .float-bar-nav>.item.tel>p>a { white-space: nowrap; transform: rotate(270deg); transform-origin: 59px 53px; } @media(max-width:768px){ #footer .footer-nav, #footer .footer-copyright-container{ display: block !important; } } </style> <script src="https://res.hc-cdn.com/cnpm-portal-utils/1.4.16/PortalUtils.umd.js"></script> <script src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/web_resoure/cms/static/js/ViewMotion.min.1.2.js?sttl=3.0.24"></script> <script src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/web_resoure/cms/static/js/v2/dcSlideShow.min.js?20220915&sttl=3.0.24"></script> <script src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/web_resoure/cms/static/js/swiper-3.4.2.jquery.min.js?20220915&sttl=3.0.24"></script> <script src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/web_resoure/cms/static/js/v2/clipboard.js?sttl=202003122030"></script> <div class="video-div"> <div class="video-modal-wrapper"> <div class="video-close-btn"></div> </div> </div> <div id="videoDiv" style="z-index: 9999; display: none; position: relative"> <div id="videobg" style=" position: absolute; background: #000; opacity: 0.3; filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30); "></div> <div id="videoplayerDiv" style="position: absolute"> <div id="videoContainer" style="width: 700px; height: 500px; background-color: black"> <span id="closeBtn"><img src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/static/close_grey_1.svg?sttl=3.0.24" alt="" height="22" width="22" onclick="closeVideo()" /></span> <div id="videoplayer" style="height: 500px; width: 700px"></div> </div> </div> </div> <script type="text/javascript"> var videoDomain = '//bbs-video.huaweicloud.com'; var _videoProtocol = 'https:' == document.location.protocol ? 'https:' : 'http:'; var tag2urlMap = []; var loading = false; var isLogin = false; function play(video_url, video_desc, domain) { if (/(\.mp4|\.mu38)/.test(video_url)) { _play(video_url, video_desc, domain); } else { if (tag2urlMap[video_url]) _play(tag2urlMap[video_url], video_desc, domain); else { if (loading) return; loading = true; $.ajax({ type: 'GET', url: 'https://bbs.huaweicloud.com/api/video/out-play?tag=' + video_url, dataType: 'jsonp', jsonp: 'callback', success: function (result) { loading = false; tag2urlMap[video_url] = result; _play(tag2urlMap[video_url], video_desc, domain); }, error: function () { loading = false; }, }); } } } function _play(video_url, video_desc, domain) { var reg = RegExp(/bbs/); var tmp = video_url; var contentAsset = '/content/dam/'; if (!video_url.match(reg)) { if (video_url.match(contentAsset)) { tmp = video_url; } else if (domain) { var tmp = _videoProtocol + domain + video_url; } else { var tmp = _videoProtocol + videoDomain + video_url; } } tmp = tmp.replace(/m3u8/, 'mp4'); tmp = tmp.replace(/bbs\.huaweicloud\.com/, 'bbs-video.huaweicloud.com'); var ua = navigator && navigator.userAgent; var win_width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; var obj = '#videoplayer'; if (win_width < 700) { $('#videoContainer') .width(win_width) .height((win_width * 3) / 4); $(obj) .width(win_width) .height((win_width * 3) / 4); } var h = $(obj).height(); var w = $(obj).width(); $(obj).append( '<video src="' + tmp + '" height="' + h + '" width="' + w + '" autoplay="autoplay" controls="controls"></video>', ); if($.fn.videoPointEvent) { //videoPointEvent和empujarPointEvent为新增埋点事件 var el = $('#videoplayer').find('video')[0]; $.fn.videoPointEvent(el); } var userAgent = navigator.userAgent; var isOpera = userAgent.indexOf('Opera') > -1; var height = document.body.offsetHeight; $('#videobg').css('width', $(window).width()); $('#videobg').css('height', height); $('#videobg').css('top', -height); $('#videobg').css('left', '0px'); $('#videoplayerDiv').css('left', ($(window).width() - $('#videoplayer').width()) / 2); $('#videoplayerDiv').css( 'top', ($(window).height() - $('#videoplayer').height()) / 2 + $(window).scrollTop() - height, ); $('#videoDiv').show(); } function closeVideo() { if($.fn.empujarPointEvent) { $.fn.empujarPointEvent(); } if (!!window.ActiveXObject || 'ActiveXObject' in window) { $('#videoplayer').remove(); $('#closeBtn').append('<div id="videoplayer" style="height:500px;width:700px;">'); } else { $('#videoplayer').html(''); } $('#videoDiv').hide(); } </script> <script> var furionAppCode = ''; var $currentUrl = location.href; if($currentUrl.indexOf("/price_detail.html") != -1 || $currentUrl.indexOf("/pricing.html") != -1 || $currentUrl.indexOf("/pricing/index.html") != -1){ furionAppCode = 'D00903385CF649FCA048B5DE1C1E6D4E'; }else if($currentUrl.indexOf("https://activity.huaweicloud.com") == 0) { furionAppCode = '51D7385A7D2B4937BB45DC755E82C48C'; } else if ($currentUrl.indexOf("https://www.huaweicloud.com") == 0) { furionAppCode = '7D9AB7C5E01D4698B7B918065C762796'; } else if ($currentUrl.indexOf("https://support.huaweicloud.com") == 0) { furionAppCode = '1C04D12EB0F8479A9DA9A24639FCA81C'; } if(!window.__fr && furionAppCode){ !function(x, n) { window[n] = window[n] || {}; window[n].config = { appId: furionAppCode,setting: "api,jsTrack,uba,longtask,rtti",hashMode: true,closeReportFMP: true, }; var o = document.createElement('script'); o.src = x, o.async = !0; var d = document.body.firstChild; document.body.insertBefore(o, d); }('https://portal.hc-cdn.com/FurionSdkStatic/3.6.30/furion-cdn.min.js', '__fr'); } </script> <script src="https://portal.hc-cdn.com/cnpm-global-resources/1.1.16/js/bi_new.js?sttl=3.0.24"></script> <script> if (window.NodeList && !NodeList.prototype.forEach) { NodeList.prototype.forEach = function (callback, thisArg) { thisArg = thisArg || window; for (var i = 0; i < this.length; i++) { callback.call(thisArg, this[i], i, this); } }; } </script> <script src="https://portal.hc-cdn.com/cnpm-global-resources/1.1.72/js/global.min.js" crossorigin="anonymous"></script> <script src="https://portal.hc-cdn.com/cnpm-baseui/3.0.16/theme-token.js?sttl=3.0.24&ttr=1.1.72" crossorigin="anonymous"></script> <script type="text/javascript" src="https://portal.hc-cdn.com/cnpm-feloader/3.0.6/feloader.js?sttl=3.0.24&ttr=1.1.72" crossorigin="anonymous"></script> <div class="hide-sttl" style="height: 0;width:0" data-sttl="3.0.24"></div> <script> window.sttlVersion = $('.hide-sttl').attr('data-sttl') || '2020'; </script> <!-- TODO:兼容AEM的埋点 Begin--> <script> // edit--china--en-us--declaration var $ts_site = "hk"; var $ts_lang = "en-us".replace("_", "-"); var $ts_domain = window.location.host.split('.')[1] ? window.location.host.split('.')[0] : 'localhost'; var channel = "support"; var $uri = channel?"/detail.html":"detail.html"; var $pepchannel = (channel+$uri).split("/").join("_").replace(".html",""); window.matedataDomain = $ts_domain; // if open in app, should change ts_domain in to "app" if( /pcloudApp/i.test(navigator.userAgent) ) { window.matedataDomain = "app"; }else{ var str = window.location.search; var suband = "type=android"; var subios = "type=ios"; if( str.indexOf(subios)!=-1 || str.indexOf(suband)!=-1 ){ window.matedataDomain = "app"; } } // 新系统中生成的方式需要改下 window.pageMatedataPrefix = window.matedataDomain + "_" + $ts_site + "_" + $ts_lang + "_" + $pepchannel + ".click."; window.headerMatedataPrefix = window.matedataDomain + "_" + $ts_site + "_" + $ts_lang + "_" + $pepchannel + "_navigation.click."; window.footerMatedataPrefix = window.matedataDomain + "_" + $ts_site + "_" + $ts_lang + "_" + $pepchannel + "_footer.click."; window.registerMatedataPrefix = window.matedataDomain + "_" + $ts_site + "_" + $ts_lang + "_" + $pepchannel + "_register.click."; window.serviceMatedataPrefix = window.matedataDomain + "_" + $ts_site + "_" + $ts_lang + "_" + $pepchannel + "_service.click."; window.pep_uaid = ($ts_site=="china") ? "UA-55836286-1" : "UA-55836286-39"; window.mate_data_ts_pageType = $pepchannel; </script> <!-- TODO:兼容AEM的埋点 End--> <script> function showFooter(){ if(window.matedataDomain != "app") { $("#footer .footer-nav").css('display','block'); $("#footer .footer-copyright-container").css('display','block'); $(".footer-service .footer-wrapper").css('display','block'); $("#footer #videoDiv").css('display','none'); } } if (window.feloader) { feloader.onLoad(function(){ feloader.getScript('https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/static/v2_resources/css/product-icons.css'); feloader.getScript('https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/static/v2_resources/css/iconFont-solution.css'); showFooter() }) } else{ document.write("<link rel='stylesheet' href='https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/static/v2_resources/css/product-icons.css'>"); document.write("<link rel='stylesheet' href='https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/static/v2_resources/css/iconFont-solution.css'>"); showFooter(); } // 处理一下a标签href是tel的场景 var telsEle = $("a[href^='tel:'][target]"); telsEle .removeAttr("target"); </script> <script> if (window.$aioList && window.$aioList.length > 0) { for (var i = 0; i < window.$aioList.length; i++) { var tmpComponent = window.$aioList[i]; if (tmpComponent) { var tmpComponentInfo = tmpComponent.split("/"); if (tmpComponentInfo.length == 2) { var name = tmpComponentInfo[0]; var version = tmpComponentInfo[1]; var tmpComponentWrapperEle = $('[data-mod-name="' + name + '"]'); var eleVersionAttr = tmpComponentWrapperEle.attr("data-mod-version"); if (eleVersionAttr && eleVersionAttr != version) { var linkEle = $('head link[href*="' + name + '/' + version + '"]'); linkEle.attr("href", linkEle.attr("href").replace(version, eleVersionAttr)); } } } } } </script> <script> // document.referrer可以获取浏览器上一次地址,如果document.referrer是空字符串,则不为语言切换场景 window.refLan = ""; window.$PEP = true; function getSiteFromURL() { url = window.location.host; urlArr = url.split("."); if (urlArr[0] == "www") { reg = "CN"; } else { reg = "HK" } return reg; } var siteStr = $('html').attr("site") if (siteStr) { window.reg = siteStr == "china" ? "CN" : siteStr.toUpperCase(); } else { window.reg = getSiteFromURL(); } window.promptLan = $('html').attr("lang"); if (document.referrer != "") { if (document.referrer.indexOf("/authui/login") == -1) { if (document.referrer.indexOf(".com/intl") != -1) { window.refLan = (document.referrer.indexOf(".com/intl/zh-cn") != -1) ? "zh-CN" : ((document.referrer.indexOf(".com/intl/en-us") != -1) ? "en-US" : "es-US"); } else { window.refLan = (document.referrer.indexOf(".com/en-us") != -1) ? "en-US" : "zh-CN"; } } else { //window.refLan = (document.referrer.indexOf("locale=zh-cn") != -1) ? "zh-CN" : "en-US"; if (document.referrer.indexOf("locale=") != -1) { window.refLan = (document.referrer.indexOf("locale=zh-cn") != -1) ? "zh-CN" : ((document.referrer.indexOf("locale=en-us") != -1) ? "en-US" : "es-US"); } else { window.refLan = window.promptLan; } } } else { window.refLan = window.promptLan; } </script> <!--/* 55 trace for some special page */--> <script> !function ($) { if (window.dataLayer && window.dataLayer.push) { if (window.location.pathname == "/consultation/") { $("#submitBtn").click(function (e) { window.dataLayer.push({ "event": "consultSubmit", "productName": $("#applicationscene").val() }); }) } $("#header .header-login").click(function (e) { window.dataLayer.push({ "event": "loginIntention" }) }); $("#header .header-register").click(function (e) { window.dataLayer.push({ "event": "creationIntention", "pageType": window.mate_data_ts_pageType, "pagePosition": "Header" }) }); } }(jQuery); </script> <script src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/commons/apm/wise_trace.min.js?sttl=3.0.24"></script> <script> $("a[href*='/pep-dialog/']").each(function () { var ele = $(this); var href = ele.attr("href"); var path = href.replace(/.html/g, ""); var ajaxPath = path.indexOf("activity/") == -1 ? path : path.split("activity/")[1]; var arr = path.split("/"); var dialogName = arr[arr.length - 1]; var location_lang = $('html').attr('lang').toLowerCase(); var site = $('html').attr('site').toLowerCase() == 'china' ? 'china' : 'hk'; // 站点判断,国内:china;国际站:hk var dialogUrl = (window.location.host.indexOf(".com") != -1 && window.location.host.indexOf("pep.huaweicloud.com") == -1) ? "https://" + window.location.host + "/" + ajaxPath + "/jcr:content/dialog.html?wcmmode=disabled" : "/content/cloudbu-site/" + site + "/" + location_lang + "/activity/" + ajaxPath + "/jcr:content/dialog.html?wcmmode=disabled"; ele.css('pointer-events', 'auto'); ele.on("click", function (e) { e.stopPropagation(); e.preventDefault(); if ($("body [data-pep-path*='" + dialogName + "']").length !== 0) { $("body [data-pep-path*='" + dialogName + "']").remove(); } // dialog for activity $.ajax({ url: dialogUrl, success: function (data) { if (data) { data = data.replace('block', 'none'); $("body").append(data); $("#modal-rule").html($("body [data-pep-path*='" + dialogName + "']").html()); window.activityModal.show('#modal-rule', true); } } }) }); }); // set fromuser to cookie function $parseQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) { return unescape(r[2]); } else { return null; } }; if ($parseQueryString("fromacct")) { var fromacct = $parseQueryString("fromacct"); var tmpEle = $("<div></div>"); tmpEle.text(fromacct); fromacct = tmpEle.html(); window.$usiteUtil.setCookie("h_fromacct", fromacct); } </script> <img src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/zh-cn/support/resource/framework/v3/images/support-doc-revision-note.svg" id="support-hidden-image-note" alt="" hidden="" /> <img src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/zh-cn/support/resource/framework/v3/images/support-doc-revision-warning.svg" id="support-hidden-image-warning" alt="" hidden="" /> <img src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/zh-cn/support/resource/framework/v3/images/support-doc-revision-danger.svg" id="support-hidden-image-danger" alt="" hidden="" /> <img src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/zh-cn/support/resource/framework/v3/images/support-doc-revision-notice.svg" id="support-hidden-image-notice" alt="" hidden="" /> <img src="https://res-static.hc-cdn.cn/aem/content/dam/cloudbu-site/archive/china/zh-cn/support/resource/framework/v3/images/support-doc-revision-caution.svg" id="support-hidden-image-caution" alt="" hidden="" /> </body> </html>