vesoft-inc / nebula-studio Goto Github PK
View Code? Open in Web Editor NEWNebulaGraph Web GUI Tools
License: Apache License 2.0
NebulaGraph Web GUI Tools
License: Apache License 2.0
export async function fetchEdgeProps(payload: {
idRoutes: string[];
type: string;
edgeFields?: any;
}) {
const { idRoutes, edgeFields, type } = payload;
const edgeType = '`' + type + '`';
let gql = `fetch prop on ${edgeType} ${idRoutes.join(', ')}`;
if (edgeFields) {
gql += ` yield ${edgeType}._src, ${edgeType}._dst `;
edgeFields[type].forEach(edgeField => {
if (edgeField !== 'type') {
gql += `,${edgeType}.${edgeField}`;
}
});
} else {
gql += ' YIELD edge as `_edge`';
}
_edge
must not start with _
It's not supported yet, could we have this implemented?
The workaround now is to go with console and import data from there.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Schema being rendered/modified in Graph View
可视化读、写 schema
Could we somehow support coloring things based on prop value?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When i use load data, i can just split the files into several parts.
For example, i have a file named f1. I need to load it into a "Tag" named account and two "Edge type" named debit and loan.
The first column is source account id, the second column is target account id, the third column is edge type, the fourth column is amount.
I need to load the f1 into the edge type debit and loan by the value of the third column.
Describe the solution you'd like
A clear and concise description of what you want to happen.
support some data filter and more ETL functions when we use data load
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
manually by other tools, such as mysql, shell or python.
Additional context
Add any other context or screenshots about the feature request here.
similar to vesoft-inc/nebula-console#157
比如 status 这个属性是 空的,希望返回结果中,直接没有 status 属性,而不是 status : null
类似hugegraph的字段"null_values": ["", "null", "-1", "[]"],指定哪些是默认值
When are you planning to add LICENSES?
We wanted to use .net core 6.0 gRpc client to interact with Nebula graph.
Questions:
The feature "Parameterized statement" in v2.6.0 will modify console, so studio need release.
Feature owner is @klay-ke
There is big chance users accidentally deployed their very first nebula cluster in the nightly docker image.
It confused them when it's possible to login but cannot perform some of the actions due to version mismatch, could we introduce a mechanism to check version during login and let users know if they are in the expected pair(between http-gateway and nebula-graph)?
Omitted to change as?
context: #58
I had tried some of them really quick while I was not good enough to make them all done/ correct.
They should all be revisited.
cc @abby-cyber
Can someone provide documentation for 'Config Server' web page
Make required ports like 7001 8080 and 5699 configurable please. Those ports are unavailable in my situation. /(ㄒoㄒ)/~~
Describe the bug (must be provided)
I using Kubernetes to start nebula-studio, and set limits with 2G memory, it always got OOM Killed on startup.
I then check with docker-compose way, it starts many node worker processes (depends how many CPU core's we have), as I using a server with 72cores, and each node work process may need about 50MB memory, so totally, it requires about 3.6GB memory, then I increase the memory limits in Kubernetes deployment, it's OK.
Your Environments (must be provided)
vesoft/nebula-graph-studio:v3
How To Reproduce(must be provided)
Steps to reproduce the behavior:
It should be clear in the above description.
Expected behavior
I think at least for a startup there is no need for so many worker processes.
Maybe a suitable startup configuration --workers=3
like a non-container startup is a simple solution.
Contents in file: package.json
{
"start": "egg-scripts start --daemon --title=egg-server-nebula-graph-studio --workers=3",
"docker-start": "egg-scripts start --title=egg-server-nebula-graph-studio"
}
And if possible, we'd better calculate the worker's number, by checking below things under container:
nproc
Additional context
N/A
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I am currently using NEBULA Studio at V3.0.0, and when my browser accidentally quits or hits refresh, the graphs generated by the original exploration are missing, which is great if you support saving history in browser in server.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
refer issue:vesoft-inc/nebula#3106
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When i want to load data by studio, i can only use .csv files.
If I have some other types of data sources, such as hive and spark. It will be a very complicated thing.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Maybe we can set a "data source management" in the studio, so that we can do some config and load data visually.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
manually config in the terminal.
Additional context
Add any other context or screenshots about the feature request here.
Could we please:
Describe the bug
Bottom bar overlap with the "Graph Space List" in Schema Tag
Environments
node --version
How To Reproduce
when there are too many spaces in the space list
Expected behavior
Bottom bar should not be overlapped with the space list.
Additional context
If a user executes an nGQL sentence using explain or profile, nebula should return the corresponding execution plan, which you can draw graphically in the studio, currently the console uses graphviz to generate the corresponding graph.
如果用户使用 explain 或者 profile 执行一句 nGQL 时,nebula 会返回对应的 execution plan,你们可以在 studio 中用图形的方式将这个 plan 画出来,目前 console 是通过 graphviz 来生成对应的图片。
It's necessary for user to input their db password when data import. It's more safe
As title :).
The core comes with arm images in the master nightly build recently, when could we have the studio arm images please?
Thanks.
When I deployed Studio with Helm, I changed storageclassname in value.yaml, but the value was not valid. I must change it in pvc.yaml directly.
Describe the bug (must be provided)
When I expand the vertex, the menu can't be displayed completely.
Your Environments (must be provided)
How To Reproduce(must be provided)
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Provide logs and configs, or any other context to trace the problem.
Could we add support for more operators in the index explore view?
e.g.
>
, <
etc. for numerical fieldsFor both studio and HTTP-gateway ( the Nginx comes with it already).
Thanks.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When i use nebula in the beginning, i can't remember all the nGQL. It will be great if there are some commonly used nGQL in the "console".
Describe the solution you'd like
A clear and concise description of what you want to happen.
We can save some commonly used nGQL in the "console", such as "show jobs" and "SUBMIT JOB COMPACT".
Or just design them as a button.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Turn to the docs and search.
Additional context
Add any other context or screenshots about the feature request here.
Describe the bug (must be provided)
Your Environments (must be provided)
node --version
How To Reproduce(must be provided)
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Provide logs and configs, or any other context to trace the problem.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When i load data, i can just see some errors occur. But i don't know what happens.
Last time i found some errors occurred, i found nothing in the studio. Finally i found that the storaged was down.
Describe the solution you'd like
A clear and concise description of what you want to happen.
We can consider to put some clear logs in the studio, especially when we load data.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
in the terminal
Additional context
Add any other context or screenshots about the feature request here.
The data can't be fully imported even though the log already says that the data has been successfully imported without any errors/failed and the task is still running.
How I imported the data:
Expected:
The data can be fully imported and the task stop running when the log says that the data has been successfully imported without any errors/failed
nebula-graph-studio linux centos7下安装报错了
[root@VM nebula-graph-studio]# npm run start
[email protected] start
egg-scripts start --daemon --title=egg-server-nebula-graph-studio --workers=3
[egg-scripts] Starting egg application at /root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio
[egg-scripts] Run node --no-deprecation --require /root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio/node_modules/source-map-support/register.js /root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-nebula-graph-studio","workers":3,"baseDir":"/root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio","framework":"/root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio/node_modules/egg"} --title=egg-server-nebula-graph-studio
[egg-scripts] Save log file to /root/logs
[egg-scripts] Wait Start: 1...
[egg-scripts] tail -n 100 /root/logs/master-stderr.log
[egg-scripts] Got error when startup:
[egg-scripts] Error: Package subpath './lib/request' is not defined by "exports" in /root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio/node_modules/koa/package.json
[egg-scripts] at new NodeError (node:internal/errors:371:5)
[egg-scripts] at throwExportsNotFound (node:internal/modules/esm/resolve:429:9)
[egg-scripts] at packageExportsResolve (node:internal/modules/esm/resolve:683:3)
[egg-scripts] at resolveExports (node:internal/modules/cjs/loader:482:36)
[egg-scripts] at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
[egg-scripts] at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
[egg-scripts] at Function.Module._load (node:internal/modules/cjs/loader:778:27)
[egg-scripts] at Module.require (node:internal/modules/cjs/loader:999:19)
[egg-scripts] at require (node:internal/modules/cjs/helpers:102:18)
[egg-scripts] at Object. (/root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio/node_modules/egg-core/lib/loader/mixin/extend.js:8:12)
[egg-scripts]
[egg-scripts] Start got error, see /root/logs/master-stderr.log
[egg-scripts] Or use --ignore-stderr
to ignore stderr at startup.
[root@VM nebula-graph-studio]#
[root@VM nebula-graph-studio]# cat /root/logs/master-stderr.log
Error: Package subpath './lib/request' is not defined by "exports" in /root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio/node_modules/koa/package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:429:9)
at packageExportsResolve (node:internal/modules/esm/resolve:683:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/root/software/nebula-gragh/nebula-graph-studio/nebula-graph-studio/node_modules/egg-core/lib/loader/mixin/extend.js:8:12)
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When i execute some frequently used queries, i can't save them in the "console".
For example, i usually use "MATCH p=(v:P_Account{account_id:"C000000003"})-[e*1..7]-(v2:Transaction) where v2.isFraud==true RETURN v2,e,p;".
But every time i use different account_id and where clause. It will be great if we can save this in the console, and i can just need to change the necessary content.
It will be useful when i was in a team. We can share the queries.
Describe the solution you'd like
A clear and concise description of what you want to happen.
We can save some custom queries in the "console".
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Maybe save these queries in the local.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
As we have nebula-operator
, currently we are already could deploy a nebula graph cluster on Kubernetes quickly. But still not possible to deploy nebula-studio
directly on Kubernetes.
Describe the solution you'd like
A yaml or helm solution to deploy nebula-studio on Kubernetes:
Describe alternatives you've considered
Maybe a simple transitional solution is using Infinity to deploy studio/importer/http-gateway in the same node with RWO Volume, and using NodePort to export service.
Additional context
None
Host
field to GraphD Host: Port
or other things that make sense of this w/o reading docs, or provide hintsA couple of fresh users had been blocked in this phase as I know :).
This could enable downstream dev to embed what studio already provided in their view/page easier.
Not sure if this practical, just thought😊
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.