-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #581 from GraphScope/fix-docs
feat: fix docs
- Loading branch information
Showing
36 changed files
with
158 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
{ | ||
"overview": "Overview", | ||
"installation": "Installation" | ||
"installation": "Installation", | ||
"Deployment": "Deployment", | ||
"getting_started": "Getting Started", | ||
"custom_graph_data": "Using Custom Graph", | ||
"stored_procedures": "Stored Procedures", | ||
"configuration": "Engine Configuration", | ||
"data_model": "Data Model", | ||
"data_import": "Data Import Configuration", | ||
"glossary": "Glossary", | ||
"development": "Development" | ||
} |
4 changes: 4 additions & 0 deletions
4
docs/interactive/pages/docs/interactive/development/_meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"index": "index", | ||
"dev_guide": "Development Guide" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"manual": "User Manual", | ||
|
||
"visualization": "Graph Visualization", | ||
"-- Themes": { | ||
"type": "separator", | ||
"title": "Developer Tools" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"overview": "Overview", | ||
"installation": "Installation", | ||
"connection": "Connection", | ||
"create_graph": "Create Graph", | ||
"modeling": "Modeling", | ||
"importing": "Importing", | ||
"querying": "Querying" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## Connection | ||
|
||
GraphScope Portal supports connecting to three engines under the GraphScope Flex architecture, which are Interactive, GART, and Insight. | ||
|
||
## Connecting to GraphScope Interactive | ||
|
||
We need to download the GraphScope Interactive engine and start it first | ||
|
||
```bash | ||
# Pull Graphscope Interactive engine, Apple M2 clip | ||
docker pull registry.cn-beijing.aliyuncs.com/graphscope/interactive:0.28.0-arm64 | ||
``` | ||
|
||
```bash | ||
# Run the container | ||
docker run -d \ | ||
--name gs-interactive \ | ||
--label flex=interactive \ | ||
-p 8080:8080 -p 7777:7777 -p 10000:10000 -p 7687:7687 \ | ||
registry.cn-beijing.aliyuncs.com/graphscope/interactive:v0.24.2-arm64 --enable-coordinator | ||
``` | ||
|
||
and then connect to the engine | ||
|
||
```bash | ||
# Run the container | ||
docker run -it \ | ||
--name my-portal \ | ||
-p 8888:8888 \ | ||
-e COORDINATOR=http://host.docker.internal:8080 \ | ||
ghcr.io/graphscope/portal:latest | ||
``` | ||
|
||
> Description of Startup Parameters | ||
- `COORDINATOR` refers to the GraphScope engine address. If you have also started the GraphScope engine locally using Docker, you can directly use `host.docker.internal:8080` as the `COORDINATOR` parameter. | ||
- `PORT` is the port number for the frontend service, defaulting to 8888. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Installation with docker | ||
|
||
```bash | ||
# Pull the image | ||
docker pull ghcr.io/graphscope/portal:latest | ||
``` | ||
|
||
## Installation with source code | ||
|
||
```bash | ||
# Compile front-end assets | ||
npm run ci | ||
# Start the server | ||
cd packages/studio-website/server | ||
npm run dev -- --port=8888 --coordinator=<graphscope_coordinator_endpoint> --cypher_endpoint=<graphscope_cypher_endpoint> | ||
``` |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Overview | ||
|
||
GraphScope Portal is a user-friendly web interface that simplifies managing graph data with GraphScope. It offers one-stop access to data modeling, importing, querying, and monitoring, catering to both Interactive and Insight engines within the GraphScope Flex architecture. | ||
|
||
## A Solid Foundation | ||
|
||
## Key Features | ||
|
||
## Development tools |
Empty file.
12 changes: 12 additions & 0 deletions
12
docs/interactive/pages/docs/portal/manual/querying/_meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"connection": "Connection", | ||
"recommand": "Recommand Statements", | ||
"history": "History Statements", | ||
"save": "Save Statements", | ||
"gpt": "Query with OpenAI", | ||
"table_view": "Table View", | ||
"graph_view": "Graph View", | ||
"setting_style": "Setting Display Style", | ||
"inspect_properties": "Inspect Properties", | ||
"draw_pattern": "Query by Drawing Pattern" | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions
9
docs/interactive/pages/docs/portal/manual/querying/recommand.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Query Methods | ||
|
||
In addition to writing Cypher or Gremlin statements by hand, we also offer a variety of query methods: recommended queries, historical queries, saved queries, and GPT queries. | ||
|
||
### Recommand query | ||
|
||
<img src="/query/recommand.png" /> | ||
|
||
### History query |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
7 changes: 7 additions & 0 deletions
7
docs/interactive/pages/docs/portal/visualization/inspect-data.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Inspect data | ||
|
||
In order to view the different properties of a node, we click on it. Information immediately appears on the right side of the screen. | ||
|
||
## Inspect data of a multiple selection | ||
|
||
When you select multiple nodes or edges, the right panel will present their detailed properties in a table format for easy viewing. |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
# GraphScope Components | ||
```jsx | ||
/** | ||
* inline: true | ||
*/ | ||
import Home from './src/DemoHome/index.tsx'; | ||
export default () => { | ||
return <Home />; | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import * as React from 'react'; | ||
|
||
interface IDemoHomeProps {} | ||
|
||
const DemoHome: React.FunctionComponent<IDemoHomeProps> = props => { | ||
return ( | ||
<div | ||
style={{ | ||
height: '100vh', | ||
textAlign: 'center', | ||
background: '#fafafa', | ||
}} | ||
> | ||
GraphScope Portal | ||
</div> | ||
); | ||
}; | ||
|
||
export default DemoHome; |