GraphScope / portal

A web-based management tool for GraphScope
https://gsp.vercel.app
Apache License 2.0
9 stars 0 forks source link

Draft a new interaction design for the Portal's information architecture #302

Open pomelo-nwu opened 1 month ago

pomelo-nwu commented 1 month ago

as titled.We need to consider the sub-groups of GraphScope. Based on the features of engines like GIE, GAE, and GLE, design the shortest product interaction paths that cater to the target audience and adjust the existing information architecture.

yecol commented 1 month ago

What is GSE?

pomelo-nwu commented 1 month ago

What is GSE?

Typo, it's GIE

yecol commented 1 month ago

We may have these products,

pomelo-nwu commented 1 month ago

GraphScope Portal 信息架构升级(中文)

都成为一个 navbar 导航,当用户进入具体的操作时,比如「design schema」需要将 graph name 也相应的展示在左上角。如果用户没有 graph name(即没有创建图实例)则会有相应的提示。 image.png

image.png image.png

Graphs

image.png

Interactive 场景考虑:如果不支持建立空图,可以这个create graph 可以现在前端用 indexDB 存储一个假实例,等design schema 成功后,删除本地的 假实例,换成接口返回的真实例

image.png

对于图实例的三大操作

image.png

建模 Modeling / Design schema

针对3类用户,我们建模分别有三种操作方式

手动建模

如上图所示,用户批量上传CSV(也可拖拽进来),即可 Sample 出每个CSV文件的 头信息,前三行数据,分隔符等。接下来,点击展开每个CSV文件,需要让用户手动确定(当然系统会默认给一个默认充值)

image.png

SQL DDL 建模

用户可以上传SQL DDL,即可将其转化为图模型。

image.png 这里面也可以和CSV 一样,给用户一个二次手动 Mapping 的机会。让用户指定哪些是点表,哪些是边表。字段怎么映射。最后,保存的入口都在画布的右上角 image.png

导数 Import / Load data

映射字段

画布区域和 Modeling 是一样的,只是不能够编辑(不能拖拽,添加新的节点和边),如果需要编辑,则需要返回到 「Modeling」这个Tab去编辑,编辑完保存。 右边的属性面板和 Modeling 也 一样,知识将 Label 修改区域换成文件路径区域。如果路径填写OKAY,则画布上方会有「Mapped」样式字段 image.png

属性字段的映射

image.png

导数 Job 详情