Skip to content

Commit

Permalink
fix: fix link render (#270) (#272)
Browse files Browse the repository at this point in the history
Co-authored-by: Nut He <18328704+hetao92@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and hetao92 authored Aug 9, 2022
1 parent 9ad7532 commit 060ec56
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 14,699 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: vesoft/nebula-graph-studio:v3.4.0
tags: vesoft/nebula-graph-studio:v3.4.1
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ Nebula Graph Studio (Studio for short) is a web-based visualization tool for Neb
## Architecture
![](architecture.png)

## Version
| Nebula Graph version | Nebula Graph Studio tag |
|----------------------|---------------------------|
| 1.x | v1.2.7 |
| 2.0.x | v2.2.x |
| 2.5.x | v3.0.x |
| 2.6.x | v3.1.x |
| 3.0.x | v3.2.x |
| 3.1.x | v3.3.x |
| 3.0.0 ~ 3.2.0 | v3.4.x |

## Development Quick Start

### set up studio and server at the same time
Expand Down
2 changes: 1 addition & 1 deletion app/config/locale/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"configServer": {
"connect": "Connect",
"host": "Host",
"host": "Host:Port",
"username": "Username",
"password": "Password",
"success": "succeed",
Expand Down
2 changes: 1 addition & 1 deletion app/config/locale/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"configServer": {
"connect": "连接",
"host": "Host",
"host": "Host:Port",
"username": "用户名",
"password": "密码",
"success": "配置成功",
Expand Down
7 changes: 6 additions & 1 deletion app/stores/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,12 @@ export class GraphStore {
status = !status;
}
} else {
sourceMap[key][0].graphIndex = 0;
const link = sourceMap[key][0];
if (link.source === link.target) {
link.graphIndex = 1;
} else {
link.graphIndex = 0;
}
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion deployment/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.4'
services:
web:
image: vesoft/nebula-graph-studio:v3.4.0
image: vesoft/nebula-graph-studio:v3.4.1
environment:
USER: root
ports:
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $ helm uninstall my-studio
|-----------|-------------|---------|
| replicaCount | Replicas for Deployment | 0 |
| image.nebulaStudio.name | The image name of nebula-graph-studio | vesoft/nebula-graph-studio |
| image.nebulaStudio.version | The image version nebula-graph-studio | v3.4.0 |
| image.nebulaStudio.version | The image version nebula-graph-studio | v3.4.1 |
| service.type | The service type, should be one of ['NodePort', 'ClusterIP', 'LoadBalancer'] | ClusterIP |
| service.port | The expose port for nebula-studio server | 7001 |
| service.nodePort | The proxy port for accessing nebula-studio outside k8s cluster | 32701 |
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image:
pullPolicy: IfNotPresent
nebulaStudio:
name: vesoft/nebula-graph-studio
version: v3.4.0
version: v3.4.1

imagePullSecrets: []

Expand Down
Loading

0 comments on commit 060ec56

Please sign in to comment.