vue-safe-force-graph 2.0.40 → 2.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/vue-safe-force-graph.js +90 -81
- package/lib/vue-safe-force-graph.umd.cjs +90 -81
- package/package.json +1 -1
|
@@ -5109,7 +5109,7 @@ function _wrapNativeSuper(Class) {
|
|
|
5109
5109
|
var formatRegExp = /%[sdj%]/g;
|
|
5110
5110
|
var warning = function warning2() {
|
|
5111
5111
|
};
|
|
5112
|
-
if (typeof process !== "undefined" && { "ALLUSERSPROFILE": "C:\\ProgramData", "APPCODE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\appcode.vmoptions", "APPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming", "BSPRINT_CLIENT": "C:/Users/jiangzhenxiang/AppData/Roaming/Brocadesoft", "ChocolateyInstall": "C:\\ProgramData\\chocolatey", "ChocolateyLastPathUpdate": '"133503662322424504"', "CLION_VM_OPTIONS": "E:\\jetbra\\vmoptions\\clion.vmoptions", "CommonProgramFiles": "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", "CommonProgramW6432": "C:\\Program Files\\Common Files", "COMPUTERNAME": "5CD128K65V", "ComSpec": "C:\\windows\\system32\\cmd.exe", "DATAGRIP_VM_OPTIONS": "E:\\jetbra\\vmoptions\\datagrip.vmoptions", "DATASPELL_VM_OPTIONS": "E:\\jetbra\\vmoptions\\dataspell.vmoptions", "DEVECOSTUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\devecostudio.vmoptions", "dp0": "D:\\fe_force_graph\\node_modules\\.bin\\", "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData", "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer", "FPS_BROWSER_USER_PROFILE_STRING": "Default", "GATEWAY_VM_OPTIONS": "E:\\jetbra\\vmoptions\\gateway.vmoptions", "GOLAND_VM_OPTIONS": "E:\\jetbra\\vmoptions\\goland.vmoptions", "HOME": "C:\\Users\\jiangzhenxiang", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\jiangzhenxiang", "HTTP_PROXY": "http://127.0.0.1:7890", "IDEA_INITIAL_DIRECTORY": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin", "IDEA_VM_OPTIONS": "E:\\jetbra\\vmoptions\\idea.vmoptions", "IGCCSVC_DB": "AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAALYxzcW3kP0ufMAddoKATEAQAAAACAAAAAAAQZgAAAAEAACAAAADGVy2xnfUUUpXm0c6AiV7qrsJnG0m5j+g1hrVarLjbZAAAAAAOgAAAAAIAACAAAABJ5X7Frun3nPuEe+fZ7zBxnhTMn0vvk1c85qp4phnQDmAAAAC0l7DkD/Q2TDUNs7T1YrSlgGXWBV7qxx2lq7yCtyoMH+6inS/LI3W9gKtRNrXUJkbg5UKpxWh8yGJu8p3aejYxsP6d0ah2bV4y0lZ/EoI81Jy1IvyBiob0hgDJBsnBrfJAAAAAePTTSBP6XeBU7GD6Ku/JrmD5tqJf6YPRWGk8Go1dws0Q/HhJ/Y8IR5KKmH2TP1mdGgVyFpdi1CPGHX3q48dXog==", "INIT_CWD": "D:\\fe_force_graph", "JetBrains Gateway": "C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;", "JETBRAINSCLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrainsclient.vmoptions", "JETBRAINS_CLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrains_client.vmoptions", "LOCALAPPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Local", "LOGONSERVER": "\\\\BJZDT-DC04", "MOZ_PLUGIN_PATH": "C:\\Program Files (x86)\\Foxit Software\\Foxit PDF Reader\\plugins\\", "NODE": "C:\\Program Files\\nodejs\\node.exe", "NODE_ENV": "production", "NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe", "NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "npm_config_access": "", "npm_config_allow_same_version": "", "npm_config_also": "", "npm_config_always_auth": "", "npm_config_argv": '{"remain":[],"cooked":["run","lib:base64"],"original":["run","lib:base64"]}', "npm_config_audit": "true", "npm_config_audit_level": "low", "npm_config_auth_type": "legacy", "npm_config_before": "", "npm_config_bin_links": "true", "npm_config_browser": "", "npm_config_ca": "", "npm_config_cache": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm-cache", "npm_config_cache_lock_retries": "10", "npm_config_cache_lock_stale": "60000", "npm_config_cache_lock_wait": "10000", "npm_config_cache_max": "Infinity", "npm_config_cache_min": "10", "npm_config_cafile": "", "npm_config_cert": "", "npm_config_cidr": "", "npm_config_color": "true", "npm_config_commit_hooks": "true", "npm_config_depth": "Infinity", "npm_config_description": "true", "npm_config_dev": "", "npm_config_dry_run": "", "npm_config_editor": "notepad.exe", "npm_config_engine_strict": "", "npm_config_fetch_retries": "2", "npm_config_fetch_retry_factor": "10", "npm_config_fetch_retry_maxtimeout": "60000", "npm_config_fetch_retry_mintimeout": "10000", "npm_config_force": "", "npm_config_format_package_lock": "true", "npm_config_fund": "true", "npm_config_git": "git", "npm_config_git_tag_version": "true", "npm_config_global": "", "npm_config_globalconfig": "C:\\Program Files\\nodejs\\etc\\npmrc", "npm_config_globalignorefile": "C:\\Program Files\\nodejs\\etc\\npmignore", "npm_config_global_style": "", "npm_config_group": "", "npm_config_ham_it_up": "", "npm_config_heading": "npm", "npm_config_https_proxy": "", "npm_config_if_present": "", "npm_config_ignore_prepublish": "", "npm_config_ignore_scripts": "", "npm_config_init_author_email": "", "npm_config_init_author_name": "", "npm_config_init_author_url": "", "npm_config_init_license": "ISC", "npm_config_init_module": "C:\\Users\\jiangzhenxiang\\.npm-init.js", "npm_config_init_version": "1.0.0", "npm_config_json": "", "npm_config_key": "", "npm_config_legacy_bundling": "", "npm_config_link": "", "npm_config_local_address": "", "npm_config_loglevel": "notice", "npm_config_logs_max": "10", "npm_config_long": "", "npm_config_maxsockets": "50", "npm_config_message": "%s", "npm_config_metrics_registry": "https://registry.npmjs.org/", "npm_config_node_gyp": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js", "npm_config_node_options": "", "npm_config_node_version": "14.19.0", "npm_config_noproxy": "", "npm_config_npm": "config", "npm_config_offline": "", "npm_config_onload_script": "", "npm_config_only": "", "npm_config_optional": "true", "npm_config_otp": "", "npm_config_package_lock": "true", "npm_config_package_lock_only": "", "npm_config_parseable": "", "npm_config_prefer_offline": "", "npm_config_prefer_online": "", "npm_config_prefix": "C:\\Program Files\\nodejs", "npm_config_preid": "", "npm_config_production": "", "npm_config_progress": "true", "npm_config_proxy": "", "npm_config_read_only": "", "npm_config_rebuild_bundle": "true", "npm_config_registry": "https://registry.npmjs.org/", "npm_config_rollback": "true", "npm_config_save": "true", "npm_config_save_bundle": "", "npm_config_save_dev": "", "npm_config_save_exact": "", "npm_config_save_optional": "", "npm_config_save_prefix": "^", "npm_config_save_prod": "", "npm_config_scope": "", "npm_config_scripts_prepend_node_path": "warn-only", "npm_config_script_shell": "", "npm_config_searchexclude": "", "npm_config_searchlimit": "20", "npm_config_searchopts": "", "npm_config_searchstaleness": "900", "npm_config_send_metrics": "", "npm_config_shell": "C:\\windows\\system32\\cmd.exe", "npm_config_shrinkwrap": "true", "npm_config_sign_git_commit": "", "npm_config_sign_git_tag": "", "npm_config_sso_poll_frequency": "500", "npm_config_sso_type": "oauth", "npm_config_strict_ssl": "true", "npm_config_tag": "latest", "npm_config_tag_version_prefix": "v", "npm_config_timing": "", "npm_config_tmp": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "npm_config_umask": "0000", "npm_config_unicode": "", "npm_config_unsafe_perm": "true", "npm_config_update_notifier": "true", "npm_config_usage": "", "npm_config_user": "", "npm_config_userconfig": "C:\\Users\\jiangzhenxiang\\.npmrc", "npm_config_user_agent": "npm/6.14.16 node/v14.19.0 win32 x64", "npm_config_version": "", "npm_config_versions": "", "npm_config_viewer": "browser", "npm_config__q_registry": "http://registry.npm.qiwoo.org", "npm_execpath": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\bin\\npm-cli.js", "npm_lifecycle_event": "lib:base64", "npm_lifecycle_script": "vite build --mode production_base64", "npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe", "npm_package_author_name": "jason zhang", "npm_package_browserslist_0": "> 1%", "npm_package_browserslist_1": "last 2 versions", "npm_package_dependencies_core_js": "^3.29.1", "npm_package_dependencies_csv_parse": "^5.0.4", "npm_package_dependencies_d3": "^7.8.5", "npm_package_dependencies_d3_lasso": "0.0.5", "npm_package_dependencies_element_plus": "^2.3.0", "npm_package_dependencies_html2canvas": "^1.0.0-rc.7", "npm_package_dependencies_json2csv": "^5.0.7", "npm_package_dependencies_konva": "^9.2.0", "npm_package_dependencies_lodash": "^4.17.21", "npm_package_dependencies_mime_types": "^2.1.35", "npm_package_dependencies_minimist": "^1.2.6", "npm_package_dependencies_radar_js_analytic_sdk": "^2.2.6", "npm_package_dependencies_vue": "^3.2.47", "npm_package_dependencies_vue_clipboard3": "^2.0.0", "npm_package_dependencies_vue_router": "^4.1.6", "npm_package_dependencies_vue_virtual_scroller": "^2.0.0-beta.8", "npm_package_dependencies__element_plus_icons_vue": "^2.1.0", "npm_package_dependencies__q_qapm": "^1.1.5", "npm_package_description": "force_graph in security area", "npm_package_devDependencies_autoprefixer": "9.5.1", "npm_package_devDependencies_axios": "^0.21.1", "npm_package_devDependencies_babel_eslint": "^10.1.0", "npm_package_devDependencies_eslint": "^7.32.0", "npm_package_devDependencies_eslint_plugin_vue": "^8.0.3", "npm_package_devDependencies_imageinfo": "^1.0.4", "npm_package_devDependencies_qs": "^6.10.1", "npm_package_devDependencies_rollup_plugin_visualizer": "^5.9.0", "npm_package_devDependencies_sass": "^1.62.0", "npm_package_devDependencies_svgo": "1.2.2", "npm_package_devDependencies_unplugin_auto_import": "^0.15.2", "npm_package_devDependencies_unplugin_vue_components": "^0.24.1", "npm_package_devDependencies_vite": "^4.3.1", "npm_package_devDependencies__babel_core": "^7.23.3", "npm_package_devDependencies__babel_preset_env": "^7.23.3", "npm_package_devDependencies__originjs_vite_plugin_commonjs": "^1.0.3", "npm_package_devDependencies__q_qcdn": "^3.2.2", "npm_package_devDependencies__vitejs_plugin_vue": "^4.1.0", "npm_package_engines_node": ">=8.9", "npm_package_engines_npm": ">= 3.0.0", "npm_package_exports___import": "./lib/vue-safe-force-graph.js", "npm_package_exports___require": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_exports____": "./*", "npm_package_files_0": "/lib/", "npm_package_gitHead": "8df6860ffe45fa798ff7d14fcde509e30a551625", "npm_package_license": "MIT", "npm_package_main": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_module": "./lib/vue-safe-force-graph.js", "npm_package_name": "vue-safe-force-graph", "npm_package_readmeFilename": "README.md", "npm_package_scripts_changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "npm_package_scripts_dev": "vite", "npm_package_scripts_dev_base64": "vite --mode development_base64", "npm_package_scripts_imageToBase64": "node qcdn.cjs --buildtype=base64", "npm_package_scripts_imageToCdn": "node qcdn.cjs", "npm_package_scripts_lib": "vite build", "npm_package_scripts_lib_base64": "vite build --mode production_base64", "npm_package_scripts_lint": "eslint --ext .js,.vue src", "npm_package_scripts_lintFix": "eslint --fix --ext .js,.vue src", "npm_package_scripts_p": "npm run patch && npm run lib && npm publish", "npm_package_scripts_patch": 'npm version patch -m "Upgrade to %s "', "npm_package_scripts_patch_base64": 'npm version patch -m "Upgrade to %s for base64"', "npm_package_scripts_p_base64": "npm run patch:base64 && npm run lib:base64 && npm publish", "npm_package_scripts_svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", "npm_package_type": "module", "npm_package_version": "2.0.40", "NPM_PREFIX_NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "NUMBER_OF_PROCESSORS": "8", "NVM_HOME": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm", "NVM_SYMLINK": "C:\\Program Files\\nodejs", "OneDrive": "C:\\Users\\jiangzhenxiang\\OneDrive", "OneDriveConsumer": "C:\\Users\\jiangzhenxiang\\OneDrive", "OS": "Windows_NT", "Path": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Program Files\\Eclipse Adoptium\\jre-17.0.8.101-hotspot\\bin;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Enterprise Vault\\EVClient\\x64\\;C:\\Program Files\\PuTTY\\;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\starship\\bin\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\GitHub CLI\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Git\\cmd;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\jiangzhenxiang\\scoop\\shims;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\JetBrains\\WebStorm 2021.3.1\\bin;C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Hyper\\resources\\bin;C:\\Users\\jiangzhenxiang\\.babun;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Fiddler;C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Hugo\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm;C:\\Program Files\\nodejs\\node_modules\\npm;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\JumpServer\\Client\\", "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC", "PHPSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\phpstorm.vmoptions", "POSH_THEMES_PATH": "C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\themes", "POWERSHELL_DISTRIBUTION_CHANNEL": "MSI:Windows 10 Pro", "PROCESSOR_ARCHITECTURE": "AMD64", "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 140 Stepping 1, GenuineIntel", "PROCESSOR_LEVEL": "6", "PROCESSOR_REVISION": "8c01", "ProgramData": "C:\\ProgramData", "ProgramFiles": "C:\\Program Files", "ProgramFiles(x86)": "C:\\Program Files (x86)", "ProgramW6432": "C:\\Program Files", "PROMPT": "$P$G", "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC": "C:\\Users\\Public", "PYCHARM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\pycharm.vmoptions", "RIDER_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rider.vmoptions", "RUBYMINE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rubymine.vmoptions", "SESSIONNAME": "Console", "STUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\studio.vmoptions", "SystemDrive": "C:", "SystemRoot": "C:\\windows", "TEMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "TMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "USERDNSDOMAIN": "CORP.QIHOO.NET", "USERDOMAIN": "CORP", "USERDOMAIN_ROAMINGPROFILE": "CORP", "USERNAME": "jiangzhenxiang", "USERPROFILE": "C:\\Users\\jiangzhenxiang", "WEBIDE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webide.vmoptions", "WebStorm": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;", "WEBSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webstorm.vmoptions", "windir": "C:\\windows", "ZES_ENABLE_SYSMAN": "1", "_prog": "node" } && { "ALLUSERSPROFILE": "C:\\ProgramData", "APPCODE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\appcode.vmoptions", "APPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming", "BSPRINT_CLIENT": "C:/Users/jiangzhenxiang/AppData/Roaming/Brocadesoft", "ChocolateyInstall": "C:\\ProgramData\\chocolatey", "ChocolateyLastPathUpdate": '"133503662322424504"', "CLION_VM_OPTIONS": "E:\\jetbra\\vmoptions\\clion.vmoptions", "CommonProgramFiles": "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", "CommonProgramW6432": "C:\\Program Files\\Common Files", "COMPUTERNAME": "5CD128K65V", "ComSpec": "C:\\windows\\system32\\cmd.exe", "DATAGRIP_VM_OPTIONS": "E:\\jetbra\\vmoptions\\datagrip.vmoptions", "DATASPELL_VM_OPTIONS": "E:\\jetbra\\vmoptions\\dataspell.vmoptions", "DEVECOSTUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\devecostudio.vmoptions", "dp0": "D:\\fe_force_graph\\node_modules\\.bin\\", "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData", "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer", "FPS_BROWSER_USER_PROFILE_STRING": "Default", "GATEWAY_VM_OPTIONS": "E:\\jetbra\\vmoptions\\gateway.vmoptions", "GOLAND_VM_OPTIONS": "E:\\jetbra\\vmoptions\\goland.vmoptions", "HOME": "C:\\Users\\jiangzhenxiang", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\jiangzhenxiang", "HTTP_PROXY": "http://127.0.0.1:7890", "IDEA_INITIAL_DIRECTORY": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin", "IDEA_VM_OPTIONS": "E:\\jetbra\\vmoptions\\idea.vmoptions", "IGCCSVC_DB": "AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAALYxzcW3kP0ufMAddoKATEAQAAAACAAAAAAAQZgAAAAEAACAAAADGVy2xnfUUUpXm0c6AiV7qrsJnG0m5j+g1hrVarLjbZAAAAAAOgAAAAAIAACAAAABJ5X7Frun3nPuEe+fZ7zBxnhTMn0vvk1c85qp4phnQDmAAAAC0l7DkD/Q2TDUNs7T1YrSlgGXWBV7qxx2lq7yCtyoMH+6inS/LI3W9gKtRNrXUJkbg5UKpxWh8yGJu8p3aejYxsP6d0ah2bV4y0lZ/EoI81Jy1IvyBiob0hgDJBsnBrfJAAAAAePTTSBP6XeBU7GD6Ku/JrmD5tqJf6YPRWGk8Go1dws0Q/HhJ/Y8IR5KKmH2TP1mdGgVyFpdi1CPGHX3q48dXog==", "INIT_CWD": "D:\\fe_force_graph", "JetBrains Gateway": "C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;", "JETBRAINSCLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrainsclient.vmoptions", "JETBRAINS_CLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrains_client.vmoptions", "LOCALAPPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Local", "LOGONSERVER": "\\\\BJZDT-DC04", "MOZ_PLUGIN_PATH": "C:\\Program Files (x86)\\Foxit Software\\Foxit PDF Reader\\plugins\\", "NODE": "C:\\Program Files\\nodejs\\node.exe", "NODE_ENV": "production", "NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe", "NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "npm_config_access": "", "npm_config_allow_same_version": "", "npm_config_also": "", "npm_config_always_auth": "", "npm_config_argv": '{"remain":[],"cooked":["run","lib:base64"],"original":["run","lib:base64"]}', "npm_config_audit": "true", "npm_config_audit_level": "low", "npm_config_auth_type": "legacy", "npm_config_before": "", "npm_config_bin_links": "true", "npm_config_browser": "", "npm_config_ca": "", "npm_config_cache": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm-cache", "npm_config_cache_lock_retries": "10", "npm_config_cache_lock_stale": "60000", "npm_config_cache_lock_wait": "10000", "npm_config_cache_max": "Infinity", "npm_config_cache_min": "10", "npm_config_cafile": "", "npm_config_cert": "", "npm_config_cidr": "", "npm_config_color": "true", "npm_config_commit_hooks": "true", "npm_config_depth": "Infinity", "npm_config_description": "true", "npm_config_dev": "", "npm_config_dry_run": "", "npm_config_editor": "notepad.exe", "npm_config_engine_strict": "", "npm_config_fetch_retries": "2", "npm_config_fetch_retry_factor": "10", "npm_config_fetch_retry_maxtimeout": "60000", "npm_config_fetch_retry_mintimeout": "10000", "npm_config_force": "", "npm_config_format_package_lock": "true", "npm_config_fund": "true", "npm_config_git": "git", "npm_config_git_tag_version": "true", "npm_config_global": "", "npm_config_globalconfig": "C:\\Program Files\\nodejs\\etc\\npmrc", "npm_config_globalignorefile": "C:\\Program Files\\nodejs\\etc\\npmignore", "npm_config_global_style": "", "npm_config_group": "", "npm_config_ham_it_up": "", "npm_config_heading": "npm", "npm_config_https_proxy": "", "npm_config_if_present": "", "npm_config_ignore_prepublish": "", "npm_config_ignore_scripts": "", "npm_config_init_author_email": "", "npm_config_init_author_name": "", "npm_config_init_author_url": "", "npm_config_init_license": "ISC", "npm_config_init_module": "C:\\Users\\jiangzhenxiang\\.npm-init.js", "npm_config_init_version": "1.0.0", "npm_config_json": "", "npm_config_key": "", "npm_config_legacy_bundling": "", "npm_config_link": "", "npm_config_local_address": "", "npm_config_loglevel": "notice", "npm_config_logs_max": "10", "npm_config_long": "", "npm_config_maxsockets": "50", "npm_config_message": "%s", "npm_config_metrics_registry": "https://registry.npmjs.org/", "npm_config_node_gyp": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js", "npm_config_node_options": "", "npm_config_node_version": "14.19.0", "npm_config_noproxy": "", "npm_config_npm": "config", "npm_config_offline": "", "npm_config_onload_script": "", "npm_config_only": "", "npm_config_optional": "true", "npm_config_otp": "", "npm_config_package_lock": "true", "npm_config_package_lock_only": "", "npm_config_parseable": "", "npm_config_prefer_offline": "", "npm_config_prefer_online": "", "npm_config_prefix": "C:\\Program Files\\nodejs", "npm_config_preid": "", "npm_config_production": "", "npm_config_progress": "true", "npm_config_proxy": "", "npm_config_read_only": "", "npm_config_rebuild_bundle": "true", "npm_config_registry": "https://registry.npmjs.org/", "npm_config_rollback": "true", "npm_config_save": "true", "npm_config_save_bundle": "", "npm_config_save_dev": "", "npm_config_save_exact": "", "npm_config_save_optional": "", "npm_config_save_prefix": "^", "npm_config_save_prod": "", "npm_config_scope": "", "npm_config_scripts_prepend_node_path": "warn-only", "npm_config_script_shell": "", "npm_config_searchexclude": "", "npm_config_searchlimit": "20", "npm_config_searchopts": "", "npm_config_searchstaleness": "900", "npm_config_send_metrics": "", "npm_config_shell": "C:\\windows\\system32\\cmd.exe", "npm_config_shrinkwrap": "true", "npm_config_sign_git_commit": "", "npm_config_sign_git_tag": "", "npm_config_sso_poll_frequency": "500", "npm_config_sso_type": "oauth", "npm_config_strict_ssl": "true", "npm_config_tag": "latest", "npm_config_tag_version_prefix": "v", "npm_config_timing": "", "npm_config_tmp": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "npm_config_umask": "0000", "npm_config_unicode": "", "npm_config_unsafe_perm": "true", "npm_config_update_notifier": "true", "npm_config_usage": "", "npm_config_user": "", "npm_config_userconfig": "C:\\Users\\jiangzhenxiang\\.npmrc", "npm_config_user_agent": "npm/6.14.16 node/v14.19.0 win32 x64", "npm_config_version": "", "npm_config_versions": "", "npm_config_viewer": "browser", "npm_config__q_registry": "http://registry.npm.qiwoo.org", "npm_execpath": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\bin\\npm-cli.js", "npm_lifecycle_event": "lib:base64", "npm_lifecycle_script": "vite build --mode production_base64", "npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe", "npm_package_author_name": "jason zhang", "npm_package_browserslist_0": "> 1%", "npm_package_browserslist_1": "last 2 versions", "npm_package_dependencies_core_js": "^3.29.1", "npm_package_dependencies_csv_parse": "^5.0.4", "npm_package_dependencies_d3": "^7.8.5", "npm_package_dependencies_d3_lasso": "0.0.5", "npm_package_dependencies_element_plus": "^2.3.0", "npm_package_dependencies_html2canvas": "^1.0.0-rc.7", "npm_package_dependencies_json2csv": "^5.0.7", "npm_package_dependencies_konva": "^9.2.0", "npm_package_dependencies_lodash": "^4.17.21", "npm_package_dependencies_mime_types": "^2.1.35", "npm_package_dependencies_minimist": "^1.2.6", "npm_package_dependencies_radar_js_analytic_sdk": "^2.2.6", "npm_package_dependencies_vue": "^3.2.47", "npm_package_dependencies_vue_clipboard3": "^2.0.0", "npm_package_dependencies_vue_router": "^4.1.6", "npm_package_dependencies_vue_virtual_scroller": "^2.0.0-beta.8", "npm_package_dependencies__element_plus_icons_vue": "^2.1.0", "npm_package_dependencies__q_qapm": "^1.1.5", "npm_package_description": "force_graph in security area", "npm_package_devDependencies_autoprefixer": "9.5.1", "npm_package_devDependencies_axios": "^0.21.1", "npm_package_devDependencies_babel_eslint": "^10.1.0", "npm_package_devDependencies_eslint": "^7.32.0", "npm_package_devDependencies_eslint_plugin_vue": "^8.0.3", "npm_package_devDependencies_imageinfo": "^1.0.4", "npm_package_devDependencies_qs": "^6.10.1", "npm_package_devDependencies_rollup_plugin_visualizer": "^5.9.0", "npm_package_devDependencies_sass": "^1.62.0", "npm_package_devDependencies_svgo": "1.2.2", "npm_package_devDependencies_unplugin_auto_import": "^0.15.2", "npm_package_devDependencies_unplugin_vue_components": "^0.24.1", "npm_package_devDependencies_vite": "^4.3.1", "npm_package_devDependencies__babel_core": "^7.23.3", "npm_package_devDependencies__babel_preset_env": "^7.23.3", "npm_package_devDependencies__originjs_vite_plugin_commonjs": "^1.0.3", "npm_package_devDependencies__q_qcdn": "^3.2.2", "npm_package_devDependencies__vitejs_plugin_vue": "^4.1.0", "npm_package_engines_node": ">=8.9", "npm_package_engines_npm": ">= 3.0.0", "npm_package_exports___import": "./lib/vue-safe-force-graph.js", "npm_package_exports___require": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_exports____": "./*", "npm_package_files_0": "/lib/", "npm_package_gitHead": "8df6860ffe45fa798ff7d14fcde509e30a551625", "npm_package_license": "MIT", "npm_package_main": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_module": "./lib/vue-safe-force-graph.js", "npm_package_name": "vue-safe-force-graph", "npm_package_readmeFilename": "README.md", "npm_package_scripts_changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "npm_package_scripts_dev": "vite", "npm_package_scripts_dev_base64": "vite --mode development_base64", "npm_package_scripts_imageToBase64": "node qcdn.cjs --buildtype=base64", "npm_package_scripts_imageToCdn": "node qcdn.cjs", "npm_package_scripts_lib": "vite build", "npm_package_scripts_lib_base64": "vite build --mode production_base64", "npm_package_scripts_lint": "eslint --ext .js,.vue src", "npm_package_scripts_lintFix": "eslint --fix --ext .js,.vue src", "npm_package_scripts_p": "npm run patch && npm run lib && npm publish", "npm_package_scripts_patch": 'npm version patch -m "Upgrade to %s "', "npm_package_scripts_patch_base64": 'npm version patch -m "Upgrade to %s for base64"', "npm_package_scripts_p_base64": "npm run patch:base64 && npm run lib:base64 && npm publish", "npm_package_scripts_svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", "npm_package_type": "module", "npm_package_version": "2.0.40", "NPM_PREFIX_NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "NUMBER_OF_PROCESSORS": "8", "NVM_HOME": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm", "NVM_SYMLINK": "C:\\Program Files\\nodejs", "OneDrive": "C:\\Users\\jiangzhenxiang\\OneDrive", "OneDriveConsumer": "C:\\Users\\jiangzhenxiang\\OneDrive", "OS": "Windows_NT", "Path": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Program Files\\Eclipse Adoptium\\jre-17.0.8.101-hotspot\\bin;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Enterprise Vault\\EVClient\\x64\\;C:\\Program Files\\PuTTY\\;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\starship\\bin\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\GitHub CLI\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Git\\cmd;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\jiangzhenxiang\\scoop\\shims;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\JetBrains\\WebStorm 2021.3.1\\bin;C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Hyper\\resources\\bin;C:\\Users\\jiangzhenxiang\\.babun;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Fiddler;C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Hugo\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm;C:\\Program Files\\nodejs\\node_modules\\npm;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\JumpServer\\Client\\", "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC", "PHPSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\phpstorm.vmoptions", "POSH_THEMES_PATH": "C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\themes", "POWERSHELL_DISTRIBUTION_CHANNEL": "MSI:Windows 10 Pro", "PROCESSOR_ARCHITECTURE": "AMD64", "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 140 Stepping 1, GenuineIntel", "PROCESSOR_LEVEL": "6", "PROCESSOR_REVISION": "8c01", "ProgramData": "C:\\ProgramData", "ProgramFiles": "C:\\Program Files", "ProgramFiles(x86)": "C:\\Program Files (x86)", "ProgramW6432": "C:\\Program Files", "PROMPT": "$P$G", "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC": "C:\\Users\\Public", "PYCHARM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\pycharm.vmoptions", "RIDER_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rider.vmoptions", "RUBYMINE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rubymine.vmoptions", "SESSIONNAME": "Console", "STUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\studio.vmoptions", "SystemDrive": "C:", "SystemRoot": "C:\\windows", "TEMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "TMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "USERDNSDOMAIN": "CORP.QIHOO.NET", "USERDOMAIN": "CORP", "USERDOMAIN_ROAMINGPROFILE": "CORP", "USERNAME": "jiangzhenxiang", "USERPROFILE": "C:\\Users\\jiangzhenxiang", "WEBIDE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webide.vmoptions", "WebStorm": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;", "WEBSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webstorm.vmoptions", "windir": "C:\\windows", "ZES_ENABLE_SYSMAN": "1", "_prog": "node" }.NODE_ENV !== "production" && typeof window !== "undefined" && typeof document !== "undefined") {
|
|
5112
|
+
if (typeof process !== "undefined" && { "ALLUSERSPROFILE": "C:\\ProgramData", "APPCODE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\appcode.vmoptions", "APPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming", "BSPRINT_CLIENT": "C:/Users/jiangzhenxiang/AppData/Roaming/Brocadesoft", "ChocolateyInstall": "C:\\ProgramData\\chocolatey", "ChocolateyLastPathUpdate": '"133503662322424504"', "CLION_VM_OPTIONS": "E:\\jetbra\\vmoptions\\clion.vmoptions", "CommonProgramFiles": "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", "CommonProgramW6432": "C:\\Program Files\\Common Files", "COMPUTERNAME": "5CD128K65V", "ComSpec": "C:\\windows\\system32\\cmd.exe", "DATAGRIP_VM_OPTIONS": "E:\\jetbra\\vmoptions\\datagrip.vmoptions", "DATASPELL_VM_OPTIONS": "E:\\jetbra\\vmoptions\\dataspell.vmoptions", "DEVECOSTUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\devecostudio.vmoptions", "dp0": "D:\\fe_force_graph\\node_modules\\.bin\\", "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData", "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer", "FPS_BROWSER_USER_PROFILE_STRING": "Default", "GATEWAY_VM_OPTIONS": "E:\\jetbra\\vmoptions\\gateway.vmoptions", "GOLAND_VM_OPTIONS": "E:\\jetbra\\vmoptions\\goland.vmoptions", "HOME": "C:\\Users\\jiangzhenxiang", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\jiangzhenxiang", "HTTP_PROXY": "http://127.0.0.1:7890", "IDEA_INITIAL_DIRECTORY": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin", "IDEA_VM_OPTIONS": "E:\\jetbra\\vmoptions\\idea.vmoptions", "IGCCSVC_DB": "AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAALYxzcW3kP0ufMAddoKATEAQAAAACAAAAAAAQZgAAAAEAACAAAADGVy2xnfUUUpXm0c6AiV7qrsJnG0m5j+g1hrVarLjbZAAAAAAOgAAAAAIAACAAAABJ5X7Frun3nPuEe+fZ7zBxnhTMn0vvk1c85qp4phnQDmAAAAC0l7DkD/Q2TDUNs7T1YrSlgGXWBV7qxx2lq7yCtyoMH+6inS/LI3W9gKtRNrXUJkbg5UKpxWh8yGJu8p3aejYxsP6d0ah2bV4y0lZ/EoI81Jy1IvyBiob0hgDJBsnBrfJAAAAAePTTSBP6XeBU7GD6Ku/JrmD5tqJf6YPRWGk8Go1dws0Q/HhJ/Y8IR5KKmH2TP1mdGgVyFpdi1CPGHX3q48dXog==", "INIT_CWD": "D:\\fe_force_graph", "JetBrains Gateway": "C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;", "JETBRAINSCLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrainsclient.vmoptions", "JETBRAINS_CLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrains_client.vmoptions", "LOCALAPPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Local", "LOGONSERVER": "\\\\BJZDT-DC03", "MOZ_PLUGIN_PATH": "C:\\Program Files (x86)\\Foxit Software\\Foxit PDF Reader\\plugins\\", "NODE": "C:\\Program Files\\nodejs\\node.exe", "NODE_ENV": "production", "NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe", "NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "npm_config_access": "", "npm_config_allow_same_version": "", "npm_config_also": "", "npm_config_always_auth": "", "npm_config_argv": '{"remain":[],"cooked":["run","lib:base64"],"original":["run","lib:base64"]}', "npm_config_audit": "true", "npm_config_audit_level": "low", "npm_config_auth_type": "legacy", "npm_config_before": "", "npm_config_bin_links": "true", "npm_config_browser": "", "npm_config_ca": "", "npm_config_cache": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm-cache", "npm_config_cache_lock_retries": "10", "npm_config_cache_lock_stale": "60000", "npm_config_cache_lock_wait": "10000", "npm_config_cache_max": "Infinity", "npm_config_cache_min": "10", "npm_config_cafile": "", "npm_config_cert": "", "npm_config_cidr": "", "npm_config_color": "true", "npm_config_commit_hooks": "true", "npm_config_depth": "Infinity", "npm_config_description": "true", "npm_config_dev": "", "npm_config_dry_run": "", "npm_config_editor": "notepad.exe", "npm_config_engine_strict": "", "npm_config_fetch_retries": "2", "npm_config_fetch_retry_factor": "10", "npm_config_fetch_retry_maxtimeout": "60000", "npm_config_fetch_retry_mintimeout": "10000", "npm_config_force": "", "npm_config_format_package_lock": "true", "npm_config_fund": "true", "npm_config_git": "git", "npm_config_git_tag_version": "true", "npm_config_global": "", "npm_config_globalconfig": "C:\\Program Files\\nodejs\\etc\\npmrc", "npm_config_globalignorefile": "C:\\Program Files\\nodejs\\etc\\npmignore", "npm_config_global_style": "", "npm_config_group": "", "npm_config_ham_it_up": "", "npm_config_heading": "npm", "npm_config_https_proxy": "", "npm_config_if_present": "", "npm_config_ignore_prepublish": "", "npm_config_ignore_scripts": "", "npm_config_init_author_email": "", "npm_config_init_author_name": "", "npm_config_init_author_url": "", "npm_config_init_license": "ISC", "npm_config_init_module": "C:\\Users\\jiangzhenxiang\\.npm-init.js", "npm_config_init_version": "1.0.0", "npm_config_json": "", "npm_config_key": "", "npm_config_legacy_bundling": "", "npm_config_link": "", "npm_config_local_address": "", "npm_config_loglevel": "notice", "npm_config_logs_max": "10", "npm_config_long": "", "npm_config_maxsockets": "50", "npm_config_message": "%s", "npm_config_metrics_registry": "https://registry.npmjs.org/", "npm_config_node_gyp": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js", "npm_config_node_options": "", "npm_config_node_version": "14.19.0", "npm_config_noproxy": "", "npm_config_npm": "config", "npm_config_offline": "", "npm_config_onload_script": "", "npm_config_only": "", "npm_config_optional": "true", "npm_config_otp": "", "npm_config_package_lock": "true", "npm_config_package_lock_only": "", "npm_config_parseable": "", "npm_config_prefer_offline": "", "npm_config_prefer_online": "", "npm_config_prefix": "C:\\Program Files\\nodejs", "npm_config_preid": "", "npm_config_production": "", "npm_config_progress": "true", "npm_config_proxy": "", "npm_config_read_only": "", "npm_config_rebuild_bundle": "true", "npm_config_registry": "https://registry.npmjs.org/", "npm_config_rollback": "true", "npm_config_save": "true", "npm_config_save_bundle": "", "npm_config_save_dev": "", "npm_config_save_exact": "", "npm_config_save_optional": "", "npm_config_save_prefix": "^", "npm_config_save_prod": "", "npm_config_scope": "", "npm_config_scripts_prepend_node_path": "warn-only", "npm_config_script_shell": "", "npm_config_searchexclude": "", "npm_config_searchlimit": "20", "npm_config_searchopts": "", "npm_config_searchstaleness": "900", "npm_config_send_metrics": "", "npm_config_shell": "C:\\windows\\system32\\cmd.exe", "npm_config_shrinkwrap": "true", "npm_config_sign_git_commit": "", "npm_config_sign_git_tag": "", "npm_config_sso_poll_frequency": "500", "npm_config_sso_type": "oauth", "npm_config_strict_ssl": "true", "npm_config_tag": "latest", "npm_config_tag_version_prefix": "v", "npm_config_timing": "", "npm_config_tmp": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "npm_config_umask": "0000", "npm_config_unicode": "", "npm_config_unsafe_perm": "true", "npm_config_update_notifier": "true", "npm_config_usage": "", "npm_config_user": "", "npm_config_userconfig": "C:\\Users\\jiangzhenxiang\\.npmrc", "npm_config_user_agent": "npm/6.14.16 node/v14.19.0 win32 x64", "npm_config_version": "", "npm_config_versions": "", "npm_config_viewer": "browser", "npm_config__q_registry": "http://registry.npm.qiwoo.org", "npm_execpath": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\bin\\npm-cli.js", "npm_lifecycle_event": "lib:base64", "npm_lifecycle_script": "vite build --mode production_base64", "npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe", "npm_package_author_name": "jason zhang", "npm_package_browserslist_0": "> 1%", "npm_package_browserslist_1": "last 2 versions", "npm_package_dependencies_core_js": "^3.29.1", "npm_package_dependencies_csv_parse": "^5.0.4", "npm_package_dependencies_d3": "^7.8.5", "npm_package_dependencies_d3_lasso": "0.0.5", "npm_package_dependencies_element_plus": "^2.3.0", "npm_package_dependencies_html2canvas": "^1.0.0-rc.7", "npm_package_dependencies_json2csv": "^5.0.7", "npm_package_dependencies_konva": "^9.2.0", "npm_package_dependencies_lodash": "^4.17.21", "npm_package_dependencies_mime_types": "^2.1.35", "npm_package_dependencies_minimist": "^1.2.6", "npm_package_dependencies_radar_js_analytic_sdk": "^2.2.6", "npm_package_dependencies_vue": "^3.2.47", "npm_package_dependencies_vue_clipboard3": "^2.0.0", "npm_package_dependencies_vue_router": "^4.1.6", "npm_package_dependencies_vue_virtual_scroller": "^2.0.0-beta.8", "npm_package_dependencies__element_plus_icons_vue": "^2.1.0", "npm_package_dependencies__q_qapm": "^1.1.5", "npm_package_description": "force_graph in security area", "npm_package_devDependencies_autoprefixer": "9.5.1", "npm_package_devDependencies_axios": "^0.21.1", "npm_package_devDependencies_babel_eslint": "^10.1.0", "npm_package_devDependencies_eslint": "^7.32.0", "npm_package_devDependencies_eslint_plugin_vue": "^8.0.3", "npm_package_devDependencies_imageinfo": "^1.0.4", "npm_package_devDependencies_qs": "^6.10.1", "npm_package_devDependencies_rollup_plugin_visualizer": "^5.9.0", "npm_package_devDependencies_sass": "^1.62.0", "npm_package_devDependencies_svgo": "1.2.2", "npm_package_devDependencies_unplugin_auto_import": "^0.15.2", "npm_package_devDependencies_unplugin_vue_components": "^0.24.1", "npm_package_devDependencies_vite": "^4.3.1", "npm_package_devDependencies__babel_core": "^7.23.3", "npm_package_devDependencies__babel_preset_env": "^7.23.3", "npm_package_devDependencies__originjs_vite_plugin_commonjs": "^1.0.3", "npm_package_devDependencies__q_qcdn": "^3.2.2", "npm_package_devDependencies__vitejs_plugin_vue": "^4.1.0", "npm_package_engines_node": ">=8.9", "npm_package_engines_npm": ">= 3.0.0", "npm_package_exports___import": "./lib/vue-safe-force-graph.js", "npm_package_exports___require": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_exports____": "./*", "npm_package_files_0": "/lib/", "npm_package_gitHead": "adeec0cd6c9e4332303e778e38319868a372ca57", "npm_package_license": "MIT", "npm_package_main": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_module": "./lib/vue-safe-force-graph.js", "npm_package_name": "vue-safe-force-graph", "npm_package_readmeFilename": "README.md", "npm_package_scripts_changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "npm_package_scripts_dev": "vite", "npm_package_scripts_dev_base64": "vite --mode development_base64", "npm_package_scripts_imageToBase64": "node qcdn.cjs --buildtype=base64", "npm_package_scripts_imageToCdn": "node qcdn.cjs", "npm_package_scripts_lib": "vite build", "npm_package_scripts_lib_base64": "vite build --mode production_base64", "npm_package_scripts_lint": "eslint --ext .js,.vue src", "npm_package_scripts_lintFix": "eslint --fix --ext .js,.vue src", "npm_package_scripts_p": "npm run patch && npm run lib && npm publish", "npm_package_scripts_patch": 'npm version patch -m "Upgrade to %s "', "npm_package_scripts_patch_base64": 'npm version patch -m "Upgrade to %s for base64"', "npm_package_scripts_p_base64": "npm run patch:base64 && npm run lib:base64 && npm publish", "npm_package_scripts_svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", "npm_package_type": "module", "npm_package_version": "2.0.42", "NPM_PREFIX_NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "NUMBER_OF_PROCESSORS": "8", "NVM_HOME": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm", "NVM_SYMLINK": "C:\\Program Files\\nodejs", "OneDrive": "C:\\Users\\jiangzhenxiang\\OneDrive", "OneDriveConsumer": "C:\\Users\\jiangzhenxiang\\OneDrive", "OS": "Windows_NT", "Path": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Program Files\\Eclipse Adoptium\\jre-17.0.8.101-hotspot\\bin;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Enterprise Vault\\EVClient\\x64\\;C:\\Program Files\\PuTTY\\;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\starship\\bin\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\GitHub CLI\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PowerShell\\7\\;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\jiangzhenxiang\\scoop\\shims;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\JetBrains\\WebStorm 2021.3.1\\bin;C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Hyper\\resources\\bin;C:\\Users\\jiangzhenxiang\\.babun;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Fiddler;C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Hugo\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm;C:\\Program Files\\nodejs\\node_modules\\npm;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\JumpServer\\Client\\", "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC", "PHPSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\phpstorm.vmoptions", "POSH_THEMES_PATH": "C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\themes", "POWERSHELL_DISTRIBUTION_CHANNEL": "MSI:Windows 10 Pro", "PROCESSOR_ARCHITECTURE": "AMD64", "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 140 Stepping 1, GenuineIntel", "PROCESSOR_LEVEL": "6", "PROCESSOR_REVISION": "8c01", "ProgramData": "C:\\ProgramData", "ProgramFiles": "C:\\Program Files", "ProgramFiles(x86)": "C:\\Program Files (x86)", "ProgramW6432": "C:\\Program Files", "PROMPT": "$P$G", "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC": "C:\\Users\\Public", "PYCHARM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\pycharm.vmoptions", "RIDER_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rider.vmoptions", "RUBYMINE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rubymine.vmoptions", "SESSIONNAME": "Console", "STUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\studio.vmoptions", "SystemDrive": "C:", "SystemRoot": "C:\\windows", "TEMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "TMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "USERDNSDOMAIN": "CORP.QIHOO.NET", "USERDOMAIN": "CORP", "USERDOMAIN_ROAMINGPROFILE": "CORP", "USERNAME": "jiangzhenxiang", "USERPROFILE": "C:\\Users\\jiangzhenxiang", "WEBIDE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webide.vmoptions", "WebStorm": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;", "WEBSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webstorm.vmoptions", "windir": "C:\\windows", "ZES_ENABLE_SYSMAN": "1", "_prog": "node" } && { "ALLUSERSPROFILE": "C:\\ProgramData", "APPCODE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\appcode.vmoptions", "APPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming", "BSPRINT_CLIENT": "C:/Users/jiangzhenxiang/AppData/Roaming/Brocadesoft", "ChocolateyInstall": "C:\\ProgramData\\chocolatey", "ChocolateyLastPathUpdate": '"133503662322424504"', "CLION_VM_OPTIONS": "E:\\jetbra\\vmoptions\\clion.vmoptions", "CommonProgramFiles": "C:\\Program Files\\Common Files", "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files", "CommonProgramW6432": "C:\\Program Files\\Common Files", "COMPUTERNAME": "5CD128K65V", "ComSpec": "C:\\windows\\system32\\cmd.exe", "DATAGRIP_VM_OPTIONS": "E:\\jetbra\\vmoptions\\datagrip.vmoptions", "DATASPELL_VM_OPTIONS": "E:\\jetbra\\vmoptions\\dataspell.vmoptions", "DEVECOSTUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\devecostudio.vmoptions", "dp0": "D:\\fe_force_graph\\node_modules\\.bin\\", "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData", "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer", "FPS_BROWSER_USER_PROFILE_STRING": "Default", "GATEWAY_VM_OPTIONS": "E:\\jetbra\\vmoptions\\gateway.vmoptions", "GOLAND_VM_OPTIONS": "E:\\jetbra\\vmoptions\\goland.vmoptions", "HOME": "C:\\Users\\jiangzhenxiang", "HOMEDRIVE": "C:", "HOMEPATH": "\\Users\\jiangzhenxiang", "HTTP_PROXY": "http://127.0.0.1:7890", "IDEA_INITIAL_DIRECTORY": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin", "IDEA_VM_OPTIONS": "E:\\jetbra\\vmoptions\\idea.vmoptions", "IGCCSVC_DB": "AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAALYxzcW3kP0ufMAddoKATEAQAAAACAAAAAAAQZgAAAAEAACAAAADGVy2xnfUUUpXm0c6AiV7qrsJnG0m5j+g1hrVarLjbZAAAAAAOgAAAAAIAACAAAABJ5X7Frun3nPuEe+fZ7zBxnhTMn0vvk1c85qp4phnQDmAAAAC0l7DkD/Q2TDUNs7T1YrSlgGXWBV7qxx2lq7yCtyoMH+6inS/LI3W9gKtRNrXUJkbg5UKpxWh8yGJu8p3aejYxsP6d0ah2bV4y0lZ/EoI81Jy1IvyBiob0hgDJBsnBrfJAAAAAePTTSBP6XeBU7GD6Ku/JrmD5tqJf6YPRWGk8Go1dws0Q/HhJ/Y8IR5KKmH2TP1mdGgVyFpdi1CPGHX3q48dXog==", "INIT_CWD": "D:\\fe_force_graph", "JetBrains Gateway": "C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;", "JETBRAINSCLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrainsclient.vmoptions", "JETBRAINS_CLIENT_VM_OPTIONS": "E:\\jetbra\\vmoptions\\jetbrains_client.vmoptions", "LOCALAPPDATA": "C:\\Users\\jiangzhenxiang\\AppData\\Local", "LOGONSERVER": "\\\\BJZDT-DC03", "MOZ_PLUGIN_PATH": "C:\\Program Files (x86)\\Foxit Software\\Foxit PDF Reader\\plugins\\", "NODE": "C:\\Program Files\\nodejs\\node.exe", "NODE_ENV": "production", "NODE_EXE": "C:\\Program Files\\nodejs\\\\node.exe", "NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "npm_config_access": "", "npm_config_allow_same_version": "", "npm_config_also": "", "npm_config_always_auth": "", "npm_config_argv": '{"remain":[],"cooked":["run","lib:base64"],"original":["run","lib:base64"]}', "npm_config_audit": "true", "npm_config_audit_level": "low", "npm_config_auth_type": "legacy", "npm_config_before": "", "npm_config_bin_links": "true", "npm_config_browser": "", "npm_config_ca": "", "npm_config_cache": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm-cache", "npm_config_cache_lock_retries": "10", "npm_config_cache_lock_stale": "60000", "npm_config_cache_lock_wait": "10000", "npm_config_cache_max": "Infinity", "npm_config_cache_min": "10", "npm_config_cafile": "", "npm_config_cert": "", "npm_config_cidr": "", "npm_config_color": "true", "npm_config_commit_hooks": "true", "npm_config_depth": "Infinity", "npm_config_description": "true", "npm_config_dev": "", "npm_config_dry_run": "", "npm_config_editor": "notepad.exe", "npm_config_engine_strict": "", "npm_config_fetch_retries": "2", "npm_config_fetch_retry_factor": "10", "npm_config_fetch_retry_maxtimeout": "60000", "npm_config_fetch_retry_mintimeout": "10000", "npm_config_force": "", "npm_config_format_package_lock": "true", "npm_config_fund": "true", "npm_config_git": "git", "npm_config_git_tag_version": "true", "npm_config_global": "", "npm_config_globalconfig": "C:\\Program Files\\nodejs\\etc\\npmrc", "npm_config_globalignorefile": "C:\\Program Files\\nodejs\\etc\\npmignore", "npm_config_global_style": "", "npm_config_group": "", "npm_config_ham_it_up": "", "npm_config_heading": "npm", "npm_config_https_proxy": "", "npm_config_if_present": "", "npm_config_ignore_prepublish": "", "npm_config_ignore_scripts": "", "npm_config_init_author_email": "", "npm_config_init_author_name": "", "npm_config_init_author_url": "", "npm_config_init_license": "ISC", "npm_config_init_module": "C:\\Users\\jiangzhenxiang\\.npm-init.js", "npm_config_init_version": "1.0.0", "npm_config_json": "", "npm_config_key": "", "npm_config_legacy_bundling": "", "npm_config_link": "", "npm_config_local_address": "", "npm_config_loglevel": "notice", "npm_config_logs_max": "10", "npm_config_long": "", "npm_config_maxsockets": "50", "npm_config_message": "%s", "npm_config_metrics_registry": "https://registry.npmjs.org/", "npm_config_node_gyp": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js", "npm_config_node_options": "", "npm_config_node_version": "14.19.0", "npm_config_noproxy": "", "npm_config_npm": "config", "npm_config_offline": "", "npm_config_onload_script": "", "npm_config_only": "", "npm_config_optional": "true", "npm_config_otp": "", "npm_config_package_lock": "true", "npm_config_package_lock_only": "", "npm_config_parseable": "", "npm_config_prefer_offline": "", "npm_config_prefer_online": "", "npm_config_prefix": "C:\\Program Files\\nodejs", "npm_config_preid": "", "npm_config_production": "", "npm_config_progress": "true", "npm_config_proxy": "", "npm_config_read_only": "", "npm_config_rebuild_bundle": "true", "npm_config_registry": "https://registry.npmjs.org/", "npm_config_rollback": "true", "npm_config_save": "true", "npm_config_save_bundle": "", "npm_config_save_dev": "", "npm_config_save_exact": "", "npm_config_save_optional": "", "npm_config_save_prefix": "^", "npm_config_save_prod": "", "npm_config_scope": "", "npm_config_scripts_prepend_node_path": "warn-only", "npm_config_script_shell": "", "npm_config_searchexclude": "", "npm_config_searchlimit": "20", "npm_config_searchopts": "", "npm_config_searchstaleness": "900", "npm_config_send_metrics": "", "npm_config_shell": "C:\\windows\\system32\\cmd.exe", "npm_config_shrinkwrap": "true", "npm_config_sign_git_commit": "", "npm_config_sign_git_tag": "", "npm_config_sso_poll_frequency": "500", "npm_config_sso_type": "oauth", "npm_config_strict_ssl": "true", "npm_config_tag": "latest", "npm_config_tag_version_prefix": "v", "npm_config_timing": "", "npm_config_tmp": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "npm_config_umask": "0000", "npm_config_unicode": "", "npm_config_unsafe_perm": "true", "npm_config_update_notifier": "true", "npm_config_usage": "", "npm_config_user": "", "npm_config_userconfig": "C:\\Users\\jiangzhenxiang\\.npmrc", "npm_config_user_agent": "npm/6.14.16 node/v14.19.0 win32 x64", "npm_config_version": "", "npm_config_versions": "", "npm_config_viewer": "browser", "npm_config__q_registry": "http://registry.npm.qiwoo.org", "npm_execpath": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\bin\\npm-cli.js", "npm_lifecycle_event": "lib:base64", "npm_lifecycle_script": "vite build --mode production_base64", "npm_node_execpath": "C:\\Program Files\\nodejs\\node.exe", "npm_package_author_name": "jason zhang", "npm_package_browserslist_0": "> 1%", "npm_package_browserslist_1": "last 2 versions", "npm_package_dependencies_core_js": "^3.29.1", "npm_package_dependencies_csv_parse": "^5.0.4", "npm_package_dependencies_d3": "^7.8.5", "npm_package_dependencies_d3_lasso": "0.0.5", "npm_package_dependencies_element_plus": "^2.3.0", "npm_package_dependencies_html2canvas": "^1.0.0-rc.7", "npm_package_dependencies_json2csv": "^5.0.7", "npm_package_dependencies_konva": "^9.2.0", "npm_package_dependencies_lodash": "^4.17.21", "npm_package_dependencies_mime_types": "^2.1.35", "npm_package_dependencies_minimist": "^1.2.6", "npm_package_dependencies_radar_js_analytic_sdk": "^2.2.6", "npm_package_dependencies_vue": "^3.2.47", "npm_package_dependencies_vue_clipboard3": "^2.0.0", "npm_package_dependencies_vue_router": "^4.1.6", "npm_package_dependencies_vue_virtual_scroller": "^2.0.0-beta.8", "npm_package_dependencies__element_plus_icons_vue": "^2.1.0", "npm_package_dependencies__q_qapm": "^1.1.5", "npm_package_description": "force_graph in security area", "npm_package_devDependencies_autoprefixer": "9.5.1", "npm_package_devDependencies_axios": "^0.21.1", "npm_package_devDependencies_babel_eslint": "^10.1.0", "npm_package_devDependencies_eslint": "^7.32.0", "npm_package_devDependencies_eslint_plugin_vue": "^8.0.3", "npm_package_devDependencies_imageinfo": "^1.0.4", "npm_package_devDependencies_qs": "^6.10.1", "npm_package_devDependencies_rollup_plugin_visualizer": "^5.9.0", "npm_package_devDependencies_sass": "^1.62.0", "npm_package_devDependencies_svgo": "1.2.2", "npm_package_devDependencies_unplugin_auto_import": "^0.15.2", "npm_package_devDependencies_unplugin_vue_components": "^0.24.1", "npm_package_devDependencies_vite": "^4.3.1", "npm_package_devDependencies__babel_core": "^7.23.3", "npm_package_devDependencies__babel_preset_env": "^7.23.3", "npm_package_devDependencies__originjs_vite_plugin_commonjs": "^1.0.3", "npm_package_devDependencies__q_qcdn": "^3.2.2", "npm_package_devDependencies__vitejs_plugin_vue": "^4.1.0", "npm_package_engines_node": ">=8.9", "npm_package_engines_npm": ">= 3.0.0", "npm_package_exports___import": "./lib/vue-safe-force-graph.js", "npm_package_exports___require": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_exports____": "./*", "npm_package_files_0": "/lib/", "npm_package_gitHead": "adeec0cd6c9e4332303e778e38319868a372ca57", "npm_package_license": "MIT", "npm_package_main": "./lib/vue-safe-force-graph.umd.cjs", "npm_package_module": "./lib/vue-safe-force-graph.js", "npm_package_name": "vue-safe-force-graph", "npm_package_readmeFilename": "README.md", "npm_package_scripts_changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "npm_package_scripts_dev": "vite", "npm_package_scripts_dev_base64": "vite --mode development_base64", "npm_package_scripts_imageToBase64": "node qcdn.cjs --buildtype=base64", "npm_package_scripts_imageToCdn": "node qcdn.cjs", "npm_package_scripts_lib": "vite build", "npm_package_scripts_lib_base64": "vite build --mode production_base64", "npm_package_scripts_lint": "eslint --ext .js,.vue src", "npm_package_scripts_lintFix": "eslint --fix --ext .js,.vue src", "npm_package_scripts_p": "npm run patch && npm run lib && npm publish", "npm_package_scripts_patch": 'npm version patch -m "Upgrade to %s "', "npm_package_scripts_patch_base64": 'npm version patch -m "Upgrade to %s for base64"', "npm_package_scripts_p_base64": "npm run patch:base64 && npm run lib:base64 && npm publish", "npm_package_scripts_svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", "npm_package_type": "module", "npm_package_version": "2.0.42", "NPM_PREFIX_NPM_CLI_JS": "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js", "NUMBER_OF_PROCESSORS": "8", "NVM_HOME": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm", "NVM_SYMLINK": "C:\\Program Files\\nodejs", "OneDrive": "C:\\Users\\jiangzhenxiang\\OneDrive", "OneDriveConsumer": "C:\\Users\\jiangzhenxiang\\OneDrive", "OS": "Windows_NT", "Path": "C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm\\v14.19.0\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\fe_force_graph\\node_modules\\.bin;C:\\Program Files\\Eclipse Adoptium\\jre-17.0.8.101-hotspot\\bin;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Enterprise Vault\\EVClient\\x64\\;C:\\Program Files\\PuTTY\\;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\dotnet\\;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files (x86)\\starship\\bin\\;C:\\Program Files\\nodejs\\;C:\\Program Files\\GitHub CLI\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PowerShell\\7\\;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\jiangzhenxiang\\scoop\\shims;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\JetBrains\\WebStorm 2021.3.1\\bin;C:\\Program Files\\JetBrains\\JetBrains Gateway 222.3153.1\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Hyper\\resources\\bin;C:\\Users\\jiangzhenxiang\\.babun;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\Fiddler;C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;;C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Hugo\\bin;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\npm;C:\\Program Files\\nodejs\\node_modules\\npm;C:\\Users\\jiangzhenxiang\\AppData\\Roaming\\JumpServer\\Client\\", "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC", "PHPSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\phpstorm.vmoptions", "POSH_THEMES_PATH": "C:\\Users\\jiangzhenxiang\\AppData\\Local\\Programs\\oh-my-posh\\themes", "POWERSHELL_DISTRIBUTION_CHANNEL": "MSI:Windows 10 Pro", "PROCESSOR_ARCHITECTURE": "AMD64", "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 140 Stepping 1, GenuineIntel", "PROCESSOR_LEVEL": "6", "PROCESSOR_REVISION": "8c01", "ProgramData": "C:\\ProgramData", "ProgramFiles": "C:\\Program Files", "ProgramFiles(x86)": "C:\\Program Files (x86)", "ProgramW6432": "C:\\Program Files", "PROMPT": "$P$G", "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC": "C:\\Users\\Public", "PYCHARM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\pycharm.vmoptions", "RIDER_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rider.vmoptions", "RUBYMINE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\rubymine.vmoptions", "SESSIONNAME": "Console", "STUDIO_VM_OPTIONS": "E:\\jetbra\\vmoptions\\studio.vmoptions", "SystemDrive": "C:", "SystemRoot": "C:\\windows", "TEMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "TMP": "C:\\Users\\JIANGZ~1\\AppData\\Local\\Temp", "USERDNSDOMAIN": "CORP.QIHOO.NET", "USERDOMAIN": "CORP", "USERDOMAIN_ROAMINGPROFILE": "CORP", "USERNAME": "jiangzhenxiang", "USERPROFILE": "C:\\Users\\jiangzhenxiang", "WEBIDE_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webide.vmoptions", "WebStorm": "C:\\Program Files\\JetBrains\\WebStorm 2023.2.5\\bin;", "WEBSTORM_VM_OPTIONS": "E:\\jetbra\\vmoptions\\webstorm.vmoptions", "windir": "C:\\windows", "ZES_ENABLE_SYSMAN": "1", "_prog": "node" }.NODE_ENV !== "production" && typeof window !== "undefined" && typeof document !== "undefined") {
|
|
5113
5113
|
warning = function warning3(type4, errors) {
|
|
5114
5114
|
if (typeof console !== "undefined" && console.warn && typeof ASYNC_VALIDATOR_NO_WARNING === "undefined") {
|
|
5115
5115
|
if (errors.every(function(e2) {
|
|
@@ -61058,7 +61058,7 @@ const clusterMenuPlugs = [
|
|
|
61058
61058
|
}
|
|
61059
61059
|
];
|
|
61060
61060
|
const name = "vue-safe-force-graph";
|
|
61061
|
-
const version = "2.0.
|
|
61061
|
+
const version = "2.0.42";
|
|
61062
61062
|
const description = "force_graph in security area";
|
|
61063
61063
|
const author = "jason zhang";
|
|
61064
61064
|
const module$1 = "./lib/vue-safe-force-graph.js";
|
|
@@ -61165,9 +61165,6 @@ const iconSize = {};
|
|
|
61165
61165
|
const initialScale = 1;
|
|
61166
61166
|
const notEllipsisKey = ["ip", "intranet", "internet"];
|
|
61167
61167
|
const arrowOffset = 20;
|
|
61168
|
-
let nodesGroup = {};
|
|
61169
|
-
let linksGroup = {};
|
|
61170
|
-
let grab = null;
|
|
61171
61168
|
const iconImages = {};
|
|
61172
61169
|
const _sfc_main$3 = {
|
|
61173
61170
|
name: "ForceGraphRenderByCanvas",
|
|
@@ -61289,6 +61286,11 @@ const _sfc_main$3 = {
|
|
|
61289
61286
|
manualTickNumber: {
|
|
61290
61287
|
type: Number,
|
|
61291
61288
|
default: 500
|
|
61289
|
+
},
|
|
61290
|
+
// 开始节点是否要动画
|
|
61291
|
+
startNodeAnimation: {
|
|
61292
|
+
type: Boolean,
|
|
61293
|
+
default: false
|
|
61292
61294
|
}
|
|
61293
61295
|
},
|
|
61294
61296
|
emits: [
|
|
@@ -61348,6 +61350,9 @@ const _sfc_main$3 = {
|
|
|
61348
61350
|
canvasElement: null,
|
|
61349
61351
|
stage: shallowRef(null),
|
|
61350
61352
|
layer: shallowRef(null),
|
|
61353
|
+
nodesGroup: shallowRef({}),
|
|
61354
|
+
linksGroup: shallowRef({}),
|
|
61355
|
+
grab: shallowRef(null),
|
|
61351
61356
|
simulation: shallowRef(null),
|
|
61352
61357
|
nodes: shallowRef(null),
|
|
61353
61358
|
links: shallowRef(null),
|
|
@@ -61366,10 +61371,7 @@ const _sfc_main$3 = {
|
|
|
61366
61371
|
inited: false,
|
|
61367
61372
|
hasSimulation: false,
|
|
61368
61373
|
nodesLength: 0,
|
|
61369
|
-
ticking: false
|
|
61370
|
-
startNodeAnimation1: null,
|
|
61371
|
-
startNodeAnimation2: null
|
|
61372
|
-
// startNodeAnimation3: null,
|
|
61374
|
+
ticking: false
|
|
61373
61375
|
};
|
|
61374
61376
|
},
|
|
61375
61377
|
computed: {
|
|
@@ -61499,21 +61501,12 @@ const _sfc_main$3 = {
|
|
|
61499
61501
|
let containerWidth = container.clientWidth;
|
|
61500
61502
|
let containerHeight = container.clientHeight;
|
|
61501
61503
|
this.resizeObserver = new ResizeObserver((entries) => {
|
|
61502
|
-
var _a2, _b2, _c2;
|
|
61503
61504
|
for (const entry of entries) {
|
|
61504
61505
|
containerWidth = entry.contentRect.width;
|
|
61505
61506
|
containerHeight = entry.contentRect.height;
|
|
61506
61507
|
log(`新宽度: ${containerWidth}px, 新高度: ${containerHeight}px`);
|
|
61507
61508
|
if (containerWidth === 0 || containerHeight === 0) {
|
|
61508
|
-
(_a2 = this.startNodeAnimation1) == null ? void 0 : _a2.stop();
|
|
61509
|
-
(_b2 = this.startNodeAnimation2) == null ? void 0 : _b2.stop();
|
|
61510
61509
|
return;
|
|
61511
|
-
} else {
|
|
61512
|
-
(_c2 = this.startNodeAnimation1) == null ? void 0 : _c2.start();
|
|
61513
|
-
setTimeout(() => {
|
|
61514
|
-
var _a3;
|
|
61515
|
-
(_a3 = this.startNodeAnimation2) == null ? void 0 : _a3.start();
|
|
61516
|
-
}, 500);
|
|
61517
61510
|
}
|
|
61518
61511
|
this.stage.width(containerWidth);
|
|
61519
61512
|
this.stage.height(containerHeight);
|
|
@@ -61535,12 +61528,12 @@ const _sfc_main$3 = {
|
|
|
61535
61528
|
scaleY: initialScale
|
|
61536
61529
|
});
|
|
61537
61530
|
this.layer = new Konva.Layer();
|
|
61538
|
-
grab = new Konva.Group({
|
|
61531
|
+
this.grab = new Konva.Group({
|
|
61539
61532
|
id: "grab",
|
|
61540
61533
|
x: 0,
|
|
61541
61534
|
y: 0
|
|
61542
61535
|
});
|
|
61543
|
-
this.layer.add(grab);
|
|
61536
|
+
this.layer.add(this.grab);
|
|
61544
61537
|
const canvasElement = this.layer.getCanvas()._canvas;
|
|
61545
61538
|
this.canvasElement = canvasElement;
|
|
61546
61539
|
this.stage.on("mousemove", (e2) => {
|
|
@@ -61715,18 +61708,15 @@ const _sfc_main$3 = {
|
|
|
61715
61708
|
}
|
|
61716
61709
|
},
|
|
61717
61710
|
doClearCanvas() {
|
|
61718
|
-
|
|
61719
|
-
|
|
61720
|
-
linksGroup = {};
|
|
61721
|
-
(_a2 = this.startNodeAnimation1) == null ? void 0 : _a2.stop();
|
|
61722
|
-
(_b2 = this.startNodeAnimation2) == null ? void 0 : _b2.stop();
|
|
61711
|
+
this.nodesGroup = {};
|
|
61712
|
+
this.linksGroup = {};
|
|
61723
61713
|
this.layer.destroyChildren();
|
|
61724
|
-
grab = new Konva.Group({
|
|
61714
|
+
this.grab = new Konva.Group({
|
|
61725
61715
|
id: "grab",
|
|
61726
61716
|
x: 0,
|
|
61727
61717
|
y: 0
|
|
61728
61718
|
});
|
|
61729
|
-
this.layer.add(grab);
|
|
61719
|
+
this.layer.add(this.grab);
|
|
61730
61720
|
},
|
|
61731
61721
|
paintNodes() {
|
|
61732
61722
|
const stageMidX = this.stage.width() / 2;
|
|
@@ -61740,8 +61730,8 @@ const _sfc_main$3 = {
|
|
|
61740
61730
|
const level = ((_c2 = (_b2 = (_a2 = node == null ? void 0 : node.detail) == null ? void 0 : _a2.info) == null ? void 0 : _b2.basic) == null ? void 0 : _c2.level) || "";
|
|
61741
61731
|
const flag = (_f2 = (_e2 = (_d2 = node == null ? void 0 : node.detail) == null ? void 0 : _d2.info) == null ? void 0 : _e2.basic) == null ? void 0 : _f2.flag;
|
|
61742
61732
|
const image = yield this.getNodeImage(node);
|
|
61743
|
-
if (nodesGroup[node.id]) {
|
|
61744
|
-
(_g2 = nodesGroup[node.id]) == null ? void 0 : _g2.destroy();
|
|
61733
|
+
if (this.nodesGroup[node.id]) {
|
|
61734
|
+
(_g2 = this.nodesGroup[node.id]) == null ? void 0 : _g2.destroy();
|
|
61745
61735
|
}
|
|
61746
61736
|
const group = new Konva.Group({
|
|
61747
61737
|
name: "nodeGroup",
|
|
@@ -61756,7 +61746,7 @@ const _sfc_main$3 = {
|
|
|
61756
61746
|
if (selectedIds.includes(node.id)) {
|
|
61757
61747
|
group.addName("isSelected");
|
|
61758
61748
|
}
|
|
61759
|
-
if (node.startNode) {
|
|
61749
|
+
if (node.startNode && this.startNodeAnimation) {
|
|
61760
61750
|
const strokeColor = getColor(level, this.levelList, this.darkMode);
|
|
61761
61751
|
const waveCircle1 = new Konva.Circle({
|
|
61762
61752
|
x: 0,
|
|
@@ -61798,12 +61788,27 @@ const _sfc_main$3 = {
|
|
|
61798
61788
|
circle.opacity(opacity);
|
|
61799
61789
|
}, this.layer);
|
|
61800
61790
|
};
|
|
61801
|
-
|
|
61802
|
-
|
|
61803
|
-
|
|
61804
|
-
|
|
61805
|
-
|
|
61791
|
+
const anim1 = createAnimation(waveCircle1, 1500);
|
|
61792
|
+
const anim2 = createAnimation(waveCircle2, 1500);
|
|
61793
|
+
const anim3 = createAnimation(waveCircle3, 1500);
|
|
61794
|
+
anim1.start();
|
|
61795
|
+
setTimeout(function() {
|
|
61796
|
+
anim2.start();
|
|
61806
61797
|
}, 500);
|
|
61798
|
+
setTimeout(function() {
|
|
61799
|
+
anim3.start();
|
|
61800
|
+
}, 1e3);
|
|
61801
|
+
} else if (node.startNode && !this.startNodeAnimation) {
|
|
61802
|
+
const strokeColor = getColor(level, this.levelList, this.darkMode);
|
|
61803
|
+
const waveCircle1 = new Konva.Circle({
|
|
61804
|
+
x: 0,
|
|
61805
|
+
y: 0,
|
|
61806
|
+
radius: 20,
|
|
61807
|
+
// 初始半径为 0
|
|
61808
|
+
fill: strokeColor,
|
|
61809
|
+
opacity: this.startNodeAnimation ? 0 : 0.3
|
|
61810
|
+
});
|
|
61811
|
+
group.add(waveCircle1);
|
|
61807
61812
|
}
|
|
61808
61813
|
if (node.type === "ip" || node.type === "internet" || node.type === "country" || node.type === "target_country") {
|
|
61809
61814
|
const stroke = getColor(level, this.levelList, this.darkMode);
|
|
@@ -61944,31 +61949,31 @@ const _sfc_main$3 = {
|
|
|
61944
61949
|
d3Node.y = group.y();
|
|
61945
61950
|
d3Node.fy = group.y();
|
|
61946
61951
|
this.links.forEach((link2) => {
|
|
61947
|
-
const group2 = linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
61952
|
+
const group2 = this.linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
61948
61953
|
const konvaLine = group2 == null ? void 0 : group2.findOne(".konvaLine");
|
|
61949
61954
|
const linkArrow = group2 == null ? void 0 : group2.findOne(".linkArrow");
|
|
61950
61955
|
const edgeLabel = group2 == null ? void 0 : group2.findOne(".edgeLabel");
|
|
61951
61956
|
let x1, x2, y1, y2;
|
|
61952
61957
|
if (link2.source.id === d3Node.id) {
|
|
61953
|
-
if (!nodesGroup[link2.target.id]) {
|
|
61958
|
+
if (!this.nodesGroup[link2.target.id]) {
|
|
61954
61959
|
return;
|
|
61955
61960
|
}
|
|
61956
61961
|
x1 = d3Node.x;
|
|
61957
|
-
x2 = nodesGroup[link2.target.id].x();
|
|
61962
|
+
x2 = this.nodesGroup[link2.target.id].x();
|
|
61958
61963
|
y1 = d3Node.y;
|
|
61959
|
-
y2 = nodesGroup[link2.target.id].y();
|
|
61964
|
+
y2 = this.nodesGroup[link2.target.id].y();
|
|
61960
61965
|
konvaLine.points([x1, y1, x2, y2]);
|
|
61961
61966
|
const arrowPosition = calculateArrowPosition(x1, y1, x2, y2, arrowOffset);
|
|
61962
61967
|
linkArrow == null ? void 0 : linkArrow.x(arrowPosition == null ? void 0 : arrowPosition.x);
|
|
61963
61968
|
linkArrow == null ? void 0 : linkArrow.y(arrowPosition == null ? void 0 : arrowPosition.y);
|
|
61964
61969
|
linkArrow == null ? void 0 : linkArrow.rotation(Math.atan2(y2 - y1, x2 - x1) * (180 / Math.PI));
|
|
61965
61970
|
} else if (link2.target.id === d3Node.id) {
|
|
61966
|
-
if (!nodesGroup[link2.source.id]) {
|
|
61971
|
+
if (!this.nodesGroup[link2.source.id]) {
|
|
61967
61972
|
return;
|
|
61968
61973
|
}
|
|
61969
|
-
x1 = nodesGroup[link2.source.id].x() || 0;
|
|
61974
|
+
x1 = this.nodesGroup[link2.source.id].x() || 0;
|
|
61970
61975
|
x2 = d3Node.x || 0;
|
|
61971
|
-
y1 = nodesGroup[link2.source.id].y() || 0;
|
|
61976
|
+
y1 = this.nodesGroup[link2.source.id].y() || 0;
|
|
61972
61977
|
y2 = d3Node.y || 0;
|
|
61973
61978
|
konvaLine.points([x1, y1, x2, y2]);
|
|
61974
61979
|
const arrowPosition = calculateArrowPosition(x1, y1, x2, y2, arrowOffset);
|
|
@@ -62017,8 +62022,8 @@ const _sfc_main$3 = {
|
|
|
62017
62022
|
group.on("mousedown", (event2) => this.handleNodeMouseDown(event2, node));
|
|
62018
62023
|
group.on("mouseenter", (event2) => this.handleNodeMouseEnter(event2, node));
|
|
62019
62024
|
group.on("mouseleave", (event2) => this.handleNodeMouseLeave(event2, node));
|
|
62020
|
-
grab.add(group);
|
|
62021
|
-
nodesGroup[node.id] = group;
|
|
62025
|
+
this.grab.add(group);
|
|
62026
|
+
this.nodesGroup[node.id] = group;
|
|
62022
62027
|
}));
|
|
62023
62028
|
this.stage.batchDraw();
|
|
62024
62029
|
},
|
|
@@ -62026,8 +62031,8 @@ const _sfc_main$3 = {
|
|
|
62026
62031
|
const stageMidX = this.stage.width() / 2;
|
|
62027
62032
|
const stageMidY = this.stage.height() / 2;
|
|
62028
62033
|
this.links.forEach((link2) => {
|
|
62029
|
-
if (linksGroup[`${link2.source.id}-${link2.target.id}`]) {
|
|
62030
|
-
linksGroup[`${link2.source.id}-${link2.target.id}`].destroy();
|
|
62034
|
+
if (this.linksGroup[`${link2.source.id}-${link2.target.id}`]) {
|
|
62035
|
+
this.linksGroup[`${link2.source.id}-${link2.target.id}`].destroy();
|
|
62031
62036
|
}
|
|
62032
62037
|
const group = new Konva.Group({
|
|
62033
62038
|
opacity: 1,
|
|
@@ -62069,9 +62074,9 @@ const _sfc_main$3 = {
|
|
|
62069
62074
|
group.add(edgeLabel);
|
|
62070
62075
|
}
|
|
62071
62076
|
group.add(konvaLine);
|
|
62072
|
-
grab.add(group);
|
|
62077
|
+
this.grab.add(group);
|
|
62073
62078
|
group.moveToBottom();
|
|
62074
|
-
linksGroup[`${link2.source.id}-${link2.target.id}`] = group;
|
|
62079
|
+
this.linksGroup[`${link2.source.id}-${link2.target.id}`] = group;
|
|
62075
62080
|
});
|
|
62076
62081
|
this.stage.batchDraw();
|
|
62077
62082
|
},
|
|
@@ -62122,7 +62127,7 @@ const _sfc_main$3 = {
|
|
|
62122
62127
|
let noNan = true;
|
|
62123
62128
|
for (let i2 = 0; i2 < this.links.length; i2++) {
|
|
62124
62129
|
const link2 = this.links[i2];
|
|
62125
|
-
const group = linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62130
|
+
const group = this.linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62126
62131
|
const konvaLink = group == null ? void 0 : group.findOne(".konvaLine");
|
|
62127
62132
|
const linkArrow = group == null ? void 0 : group.findOne(".linkArrow");
|
|
62128
62133
|
const edgeLabel = group == null ? void 0 : group.findOne(".edgeLabel");
|
|
@@ -62172,7 +62177,7 @@ const _sfc_main$3 = {
|
|
|
62172
62177
|
}
|
|
62173
62178
|
for (let i2 = 0; i2 < this.nodes.length; i2++) {
|
|
62174
62179
|
const node = this.nodes[i2];
|
|
62175
|
-
(_a2 = nodesGroup[node.id]) == null ? void 0 : _a2.position({ x: node.x || 0, y: node.y || 0 });
|
|
62180
|
+
(_a2 = this.nodesGroup[node.id]) == null ? void 0 : _a2.position({ x: node.x || 0, y: node.y || 0 });
|
|
62176
62181
|
}
|
|
62177
62182
|
},
|
|
62178
62183
|
selectEdgesByNode(selection2) {
|
|
@@ -62180,7 +62185,7 @@ const _sfc_main$3 = {
|
|
|
62180
62185
|
return item.id;
|
|
62181
62186
|
});
|
|
62182
62187
|
this.links.forEach((link2) => {
|
|
62183
|
-
const group = linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62188
|
+
const group = this.linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62184
62189
|
if (selectionIds.includes(link2 == null ? void 0 : link2.target.id) || selectionIds.includes(link2 == null ? void 0 : link2.source.id)) {
|
|
62185
62190
|
group == null ? void 0 : group.addName("isSelected");
|
|
62186
62191
|
} else {
|
|
@@ -62191,7 +62196,7 @@ const _sfc_main$3 = {
|
|
|
62191
62196
|
showKeyWay(selection2) {
|
|
62192
62197
|
if (selection2.length !== 1) {
|
|
62193
62198
|
this.links.forEach((link2) => {
|
|
62194
|
-
const group = linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62199
|
+
const group = this.linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62195
62200
|
group == null ? void 0 : group.removeName("keyed");
|
|
62196
62201
|
});
|
|
62197
62202
|
this.history.resetKeyLinksAndNodes();
|
|
@@ -62205,7 +62210,7 @@ const _sfc_main$3 = {
|
|
|
62205
62210
|
const iskeyed = keyLinks.find((item) => {
|
|
62206
62211
|
return item.source.id === link2.source.id && item.target.id === link2.target.id;
|
|
62207
62212
|
});
|
|
62208
|
-
const group = linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62213
|
+
const group = this.linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62209
62214
|
if (iskeyed) {
|
|
62210
62215
|
group == null ? void 0 : group.addName("keyed");
|
|
62211
62216
|
} else {
|
|
@@ -62213,7 +62218,7 @@ const _sfc_main$3 = {
|
|
|
62213
62218
|
}
|
|
62214
62219
|
});
|
|
62215
62220
|
this.nodes.forEach((node) => {
|
|
62216
|
-
const konvaGroup = nodesGroup[node.id];
|
|
62221
|
+
const konvaGroup = this.nodesGroup[node.id];
|
|
62217
62222
|
if (keyNodeIds.includes(node.id)) {
|
|
62218
62223
|
konvaGroup == null ? void 0 : konvaGroup.addName("keyed");
|
|
62219
62224
|
} else {
|
|
@@ -62248,7 +62253,7 @@ const _sfc_main$3 = {
|
|
|
62248
62253
|
},
|
|
62249
62254
|
updateNodesStyleByName() {
|
|
62250
62255
|
this.nodes.forEach((node) => {
|
|
62251
|
-
const konvaGroup = nodesGroup[node.id];
|
|
62256
|
+
const konvaGroup = this.nodesGroup[node.id];
|
|
62252
62257
|
if (!konvaGroup) {
|
|
62253
62258
|
return;
|
|
62254
62259
|
}
|
|
@@ -62287,7 +62292,7 @@ const _sfc_main$3 = {
|
|
|
62287
62292
|
},
|
|
62288
62293
|
updateLinksStyleByName() {
|
|
62289
62294
|
this.links.forEach((link2) => {
|
|
62290
|
-
const group = linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62295
|
+
const group = this.linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
62291
62296
|
if (!group) {
|
|
62292
62297
|
return;
|
|
62293
62298
|
}
|
|
@@ -62314,7 +62319,7 @@ const _sfc_main$3 = {
|
|
|
62314
62319
|
}
|
|
62315
62320
|
} else {
|
|
62316
62321
|
const color2 = link2.target.type === "org" ? "#cf1322" : lineColor;
|
|
62317
|
-
linksGroup[`${link2.source.id}-${link2.target.id}`].removeName("isSelected");
|
|
62322
|
+
this.linksGroup[`${link2.source.id}-${link2.target.id}`].removeName("isSelected");
|
|
62318
62323
|
konvaLine.strokeWidth(1);
|
|
62319
62324
|
konvaLine.stroke(color2);
|
|
62320
62325
|
linkArrow.fill(color2);
|
|
@@ -62336,18 +62341,16 @@ const _sfc_main$3 = {
|
|
|
62336
62341
|
this.updateSelection();
|
|
62337
62342
|
},
|
|
62338
62343
|
resetAll() {
|
|
62339
|
-
var _a2, _b2
|
|
62344
|
+
var _a2, _b2;
|
|
62340
62345
|
document.removeEventListener("click", this.hideContextMenu);
|
|
62341
|
-
(_a2 = this.
|
|
62342
|
-
(_b2 = this.startNodeAnimation2) == null ? void 0 : _b2.stop();
|
|
62343
|
-
(_c2 = this.simulation) == null ? void 0 : _c2.stop();
|
|
62346
|
+
(_a2 = this.simulation) == null ? void 0 : _a2.stop();
|
|
62344
62347
|
this.simulation = null;
|
|
62345
62348
|
this.hasSimulation = false;
|
|
62346
62349
|
this.mousedownNode = null;
|
|
62347
62350
|
this.mousedownPos = null;
|
|
62348
62351
|
this.mouseupNode = null;
|
|
62349
62352
|
if (this.$refs.canvasContainer) {
|
|
62350
|
-
(
|
|
62353
|
+
(_b2 = this.resizeObserver) == null ? void 0 : _b2.unobserve(this.$refs.canvasContainer);
|
|
62351
62354
|
}
|
|
62352
62355
|
this.nodes = [];
|
|
62353
62356
|
this.links = [];
|
|
@@ -62512,7 +62515,7 @@ const _sfc_main$3 = {
|
|
|
62512
62515
|
return newNodeIds.indexOf(node.id) >= 0;
|
|
62513
62516
|
});
|
|
62514
62517
|
newNodes == null ? void 0 : newNodes.forEach(function(d2, index2) {
|
|
62515
|
-
const konvaShape2 = nodesGroup[d2.id];
|
|
62518
|
+
const konvaShape2 = this.nodesGroup[d2.id];
|
|
62516
62519
|
boundsAll.push({
|
|
62517
62520
|
bounds: (konvaShape2 == null ? void 0 : konvaShape2.getClientRect()) || {},
|
|
62518
62521
|
fx: d2.x || 0,
|
|
@@ -62537,7 +62540,7 @@ const _sfc_main$3 = {
|
|
|
62537
62540
|
this.scale = scale;
|
|
62538
62541
|
const forceCenterWidth = this.stage.width() / (2 * scale);
|
|
62539
62542
|
const forceCenterHeight = this.stage.height() / (2 * scale);
|
|
62540
|
-
const konvaShape = nodesGroup[newNodeIds[0]];
|
|
62543
|
+
const konvaShape = this.nodesGroup[newNodeIds[0]];
|
|
62541
62544
|
const clientRect = konvaShape == null ? void 0 : konvaShape.getClientRect();
|
|
62542
62545
|
const x2 = clientRect.x * scale;
|
|
62543
62546
|
const y2 = clientRect.y * scale;
|
|
@@ -62575,8 +62578,8 @@ const _sfc_main$3 = {
|
|
|
62575
62578
|
this.mousedownPos = null;
|
|
62576
62579
|
this.mouseupNode = null;
|
|
62577
62580
|
(_a2 = this.dragLine) == null ? void 0 : _a2.destroy();
|
|
62578
|
-
Object.keys(nodesGroup).forEach((key) => {
|
|
62579
|
-
nodesGroup[key].draggable(true);
|
|
62581
|
+
Object.keys(this.nodesGroup).forEach((key) => {
|
|
62582
|
+
this.nodesGroup[key].draggable(true);
|
|
62580
62583
|
});
|
|
62581
62584
|
},
|
|
62582
62585
|
loadIcons() {
|
|
@@ -62679,9 +62682,9 @@ const _sfc_main$3 = {
|
|
|
62679
62682
|
this.nodes.forEach((node) => {
|
|
62680
62683
|
var _a2, _b2;
|
|
62681
62684
|
if (selectedIds.includes(node.id)) {
|
|
62682
|
-
(_a2 = nodesGroup[node.id]) == null ? void 0 : _a2.addName("isSelected");
|
|
62685
|
+
(_a2 = this.nodesGroup[node.id]) == null ? void 0 : _a2.addName("isSelected");
|
|
62683
62686
|
} else {
|
|
62684
|
-
(_b2 = nodesGroup[node.id]) == null ? void 0 : _b2.removeName("isSelected");
|
|
62687
|
+
(_b2 = this.nodesGroup[node.id]) == null ? void 0 : _b2.removeName("isSelected");
|
|
62685
62688
|
}
|
|
62686
62689
|
});
|
|
62687
62690
|
$emit(this, "updateSelection");
|
|
@@ -62803,7 +62806,7 @@ const _sfc_main$3 = {
|
|
|
62803
62806
|
handleNodeMouseDown(e2, node) {
|
|
62804
62807
|
if (e2.evt[this.actKey]) {
|
|
62805
62808
|
this.mousedownNode = node;
|
|
62806
|
-
nodesGroup[node.id].draggable(false);
|
|
62809
|
+
this.nodesGroup[node.id].draggable(false);
|
|
62807
62810
|
const scale = this.stage.scaleX();
|
|
62808
62811
|
const pointerPosition = this.stage.getPointerPosition();
|
|
62809
62812
|
const adjustedX = (pointerPosition.x - this.stage.x()) / scale;
|
|
@@ -62916,12 +62919,12 @@ const _sfc_main$3 = {
|
|
|
62916
62919
|
x: this.stage.x(),
|
|
62917
62920
|
y: this.stage.y()
|
|
62918
62921
|
};
|
|
62919
|
-
if (!grab) {
|
|
62922
|
+
if (!this.grab) {
|
|
62920
62923
|
return;
|
|
62921
62924
|
}
|
|
62922
62925
|
const fullWidth = this.stage.width();
|
|
62923
62926
|
const fullHeight = this.stage.height();
|
|
62924
|
-
const bounds = grab.getClientRect();
|
|
62927
|
+
const bounds = this.grab.getClientRect();
|
|
62925
62928
|
const width = bounds.width / this.scale;
|
|
62926
62929
|
const height = bounds.height / this.scale;
|
|
62927
62930
|
if (width === 0 || height === 0)
|
|
@@ -62944,7 +62947,7 @@ const _sfc_main$3 = {
|
|
|
62944
62947
|
});
|
|
62945
62948
|
this.layer.batchDraw();
|
|
62946
62949
|
if (this.history.layoutIndex === 1) {
|
|
62947
|
-
const newBounds = grab.getClientRect();
|
|
62950
|
+
const newBounds = this.grab.getClientRect();
|
|
62948
62951
|
const x2 = (fullWidth - newBounds.width) / 2 - newBounds.x;
|
|
62949
62952
|
const y2 = (fullHeight - newBounds.height) / 2 - newBounds.y;
|
|
62950
62953
|
this.stage.setAttrs({
|
|
@@ -63205,11 +63208,11 @@ const _sfc_main$3 = {
|
|
|
63205
63208
|
highlightByRule(rule, nodesRange) {
|
|
63206
63209
|
if (!rule.prop && !nodesRange) {
|
|
63207
63210
|
this.nodes.forEach((node) => {
|
|
63208
|
-
const group = nodesGroup[node.id];
|
|
63211
|
+
const group = this.nodesGroup[node.id];
|
|
63209
63212
|
group == null ? void 0 : group.removeName("lowlight");
|
|
63210
63213
|
});
|
|
63211
63214
|
this.links.forEach((link2) => {
|
|
63212
|
-
const group = linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
63215
|
+
const group = this.linksGroup[`${link2.source.id}-${link2.target.id}`];
|
|
63213
63216
|
group == null ? void 0 : group.removeName("lowlight");
|
|
63214
63217
|
});
|
|
63215
63218
|
return;
|
|
@@ -63217,8 +63220,8 @@ const _sfc_main$3 = {
|
|
|
63217
63220
|
const { type: type4, prop, value } = rule;
|
|
63218
63221
|
const that = this;
|
|
63219
63222
|
const highlightNodes = [];
|
|
63220
|
-
this.nodes.forEach(
|
|
63221
|
-
const group = nodesGroup[d2.id];
|
|
63223
|
+
this.nodes.forEach((d2) => {
|
|
63224
|
+
const group = this.nodesGroup[d2.id];
|
|
63222
63225
|
if (prop) {
|
|
63223
63226
|
if (type4 === "include") {
|
|
63224
63227
|
if (value.includes(that.safeGet(d2, prop)) && that.inNodesRange(nodesRange, d2)) {
|
|
@@ -63251,8 +63254,8 @@ const _sfc_main$3 = {
|
|
|
63251
63254
|
}
|
|
63252
63255
|
}
|
|
63253
63256
|
});
|
|
63254
|
-
this.links.forEach(
|
|
63255
|
-
const group = linksGroup[`${d2.source.id}-${d2.target.id}`];
|
|
63257
|
+
this.links.forEach((d2) => {
|
|
63258
|
+
const group = this.linksGroup[`${d2.source.id}-${d2.target.id}`];
|
|
63256
63259
|
const targetHighlight = highlightNodes.some((item) => {
|
|
63257
63260
|
return item.id === d2.target.id;
|
|
63258
63261
|
});
|
|
@@ -64232,6 +64235,11 @@ const _sfc_main = {
|
|
|
64232
64235
|
singlesNodeMaxNum: {
|
|
64233
64236
|
type: Number,
|
|
64234
64237
|
default: 100
|
|
64238
|
+
},
|
|
64239
|
+
// 开始节点是否要动画
|
|
64240
|
+
startNodeAnimation: {
|
|
64241
|
+
type: Boolean,
|
|
64242
|
+
default: false
|
|
64235
64243
|
}
|
|
64236
64244
|
},
|
|
64237
64245
|
emits: [
|
|
@@ -65082,7 +65090,7 @@ const _sfc_main = {
|
|
|
65082
65090
|
// 事件名称
|
|
65083
65091
|
});
|
|
65084
65092
|
if (!document.fullscreenElement) {
|
|
65085
|
-
const element =
|
|
65093
|
+
const element = this.$refs["force-d3-container"];
|
|
65086
65094
|
element.requestFullscreen();
|
|
65087
65095
|
} else {
|
|
65088
65096
|
if (document.exitFullscreen) {
|
|
@@ -65163,7 +65171,7 @@ const _sfc_main = {
|
|
|
65163
65171
|
}
|
|
65164
65172
|
};
|
|
65165
65173
|
const _hoisted_1 = {
|
|
65166
|
-
|
|
65174
|
+
ref: "force-d3-container",
|
|
65167
65175
|
class: "d3-container"
|
|
65168
65176
|
};
|
|
65169
65177
|
const _hoisted_2 = ["innerHTML"];
|
|
@@ -65228,11 +65236,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
65228
65236
|
"dark-mode": $props.darkMode,
|
|
65229
65237
|
"node-type-scale": $props.nodeTypeScale,
|
|
65230
65238
|
"node-type-list": $data.nodeTypeList,
|
|
65239
|
+
startNodeAnimation: $props.startNodeAnimation,
|
|
65231
65240
|
onUpdateSelection: $options.updateSelection,
|
|
65232
65241
|
onOnaction: $options.onAction,
|
|
65233
65242
|
onHandleSelectNode: $options.handleSelectNode,
|
|
65234
65243
|
onCustomContextmenuClick: $options.handleCustomContextMenuClick
|
|
65235
|
-
}, null, 8, ["module-detail", "history", "level-list", "selection", "data", "request-graph-data", "dark-mode", "node-type-scale", "node-type-list", "onUpdateSelection", "onOnaction", "onHandleSelectNode", "onCustomContextmenuClick"]),
|
|
65244
|
+
}, null, 8, ["module-detail", "history", "level-list", "selection", "data", "request-graph-data", "dark-mode", "node-type-scale", "node-type-list", "startNodeAnimation", "onUpdateSelection", "onOnaction", "onHandleSelectNode", "onCustomContextmenuClick"]),
|
|
65236
65245
|
$data.selection.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_6, [
|
|
65237
65246
|
createTextVNode(" 已选择"),
|
|
65238
65247
|
createElementVNode("span", _hoisted_7, toDisplayString($data.selection.length), 1),
|