Skip to content

Commit eba7d6f

Browse files
authored
Merge pull request #645 from GraphScope/customize-edges
feat: Update element style and release v0.1.13
2 parents 6de07ba + 72dcecf commit eba7d6f

File tree

38 files changed

+388
-147
lines changed

38 files changed

+388
-147
lines changed

examples/graphy/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @graphscope/graphy-website
22

3+
## 0.1.7
4+
5+
### Patch Changes
6+
7+
- update website
8+
- Updated dependencies
9+
- @graphscope/studio-driver@0.1.11
10+
- @graphscope/studio-graph@0.1.13
11+
- @graphscope/studio-components@0.1.13
12+
- @graphscope/studio-importor@0.1.13
13+
- @graphscope/studio-query@0.1.13
14+
315
## 0.1.6
416

517
### Patch Changes

examples/graphy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphscope/graphy-website",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "",
55
"main": "lib/index.js",
66
"module": "es/index.js",

packages/studio-components/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphscope/studio-components
22

3+
## 0.1.13
4+
5+
### Patch Changes
6+
7+
- update website
8+
39
## 0.1.12
410

511
### Patch Changes

packages/studio-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphscope/studio-components",
3-
"version": "0.1.12",
3+
"version": "0.1.13",
44
"description": "A components for graphscope studio",
55
"main": "lib/index.js",
66
"module": "es/index.js",

packages/studio-draw-pattern/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @graphscope/studio-draw-pattern
22

3+
## 0.0.9
4+
5+
### Patch Changes
6+
7+
- update website
8+
- Updated dependencies
9+
- @graphscope/studio-components@0.1.13
10+
- @graphscope/studio-graph-editor@0.1.7
11+
312
## 0.0.8
413

514
### Patch Changes

packages/studio-draw-pattern/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphscope/studio-draw-pattern",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"description": "Experiment draw pattern code for GrapeScope",
55
"module": "dist/esm/index.js",
66
"types": "dist/esm/index.d.ts",

packages/studio-driver/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphscope/studio-driver
22

3+
## 0.1.11
4+
5+
### Patch Changes
6+
7+
- update website
8+
39
## 0.1.10
410

511
### Patch Changes

packages/studio-driver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphscope/studio-driver",
3-
"version": "0.1.10",
3+
"version": "0.1.11",
44
"description": "A library provides a unified interface for interacting with graph databases",
55
"main": "lib/index.js",
66
"module": "es/index.js",

packages/studio-driver/src/kuzu-wasm-driver.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export class KuzuDriver {
8989

9090
async installUDF(): Promise<void> {
9191
var res = await this.conn?.execute('CREATE MACRO elementid(x) AS CAST(ID(x),"STRING")');
92+
9293
console.log(res.toString());
9394
}
9495

@@ -351,6 +352,12 @@ export class KuzuDriver {
351352
}
352353

353354
async query(queryScript: string): Promise<any> {
355+
if (queryScript === 'CALL kuzu.meta.schema') {
356+
return await this.querySchema();
357+
}
358+
if (queryScript === 'CALL kuzu.meta.statistics') {
359+
return await this.getCount();
360+
}
354361
console.time('Query cost');
355362
const queryResult = await this.conn?.execute(queryScript);
356363
console.timeEnd('Query cost');
@@ -483,7 +490,6 @@ export class KuzuDriver {
483490
const edge_count = parseInt(edge_res.toString().split('\n')[1], 10);
484491
const countArray = [vertex_count, edge_count];
485492

486-
console.log(countArray);
487493
return countArray;
488494
}
489495

@@ -511,7 +517,7 @@ export class KuzuDriver {
511517
console.log(`Open dataset ${this.curDataset}`);
512518

513519
//@ts-ignore
514-
this.db = await this.kuzuEngine.Database(this.curDataset, 0, 10, false, false, 4194304 * 16 * 4);
520+
this.db = await this.kuzuEngine.Database(this.curDataset, 0, 10, false, false, 4194304 * 16 * 4 * 4);
515521
//@ts-ignore
516522
this.conn = await this.kuzuEngine.Connection(this.db);
517523

packages/studio-explore/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @graphscope/studio-explore
22

3+
## 0.1.11
4+
5+
### Patch Changes
6+
7+
- update website
8+
- Updated dependencies
9+
- @graphscope/studio-driver@0.1.11
10+
- @graphscope/studio-graph@0.1.13
11+
- @graphscope/studio-components@0.1.13
12+
- @graphscope/studio-importor@0.1.13
13+
- @graphscope/studio-query@0.1.13
14+
315
## 0.1.10
416

517
### Patch Changes

0 commit comments

Comments
 (0)