Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add mermaid diagrams of builder queries #992 #1001

Merged
merged 32 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
323b0b0
Update README.md
michaelvlach Jan 20, 2024
d839889
Update queries.md
michaelvlach Jan 20, 2024
726f7db
Update queries.md
michaelvlach Jan 20, 2024
45032f5
Update queries.md
michaelvlach Jan 20, 2024
487ad4d
Update queries.md
michaelvlach Jan 20, 2024
09ab47c
Update queries.md
michaelvlach Jan 20, 2024
3bb3571
Update queries.md
michaelvlach Jan 20, 2024
2368ad6
Update queries.md
michaelvlach Jan 20, 2024
e6eb1ed
Update query_builder.rs
michaelvlach Jan 20, 2024
75ecfd8
Merge branch '992-docs-add-mermaid-diagrams-of-builder-queries' of gi…
michaelvlach Jan 20, 2024
074d65f
Update queries.md
michaelvlach Jan 20, 2024
5c6dcbd
Update queries.md
michaelvlach Jan 20, 2024
c4060ce
Update README.md
michaelvlach Jan 20, 2024
86ab29a
Update README.md
michaelvlach Jan 20, 2024
a41c9c8
Update README.md
michaelvlach Jan 20, 2024
0a67653
Update queries.md
michaelvlach Jan 20, 2024
d4c8e89
Merge branch '992-docs-add-mermaid-diagrams-of-builder-queries' of gi…
michaelvlach Jan 20, 2024
bf0afe2
Merge branch 'main' into 992-docs-add-mermaid-diagrams-of-builder-que…
michaelvlach Jan 20, 2024
ba78cf2
Update queries.md
michaelvlach Jan 20, 2024
126e44e
Update queries.md
michaelvlach Jan 20, 2024
1506bf0
Update queries.md
michaelvlach Jan 20, 2024
23364d2
Update queries.md
michaelvlach Jan 20, 2024
f56be5b
Update queries.md
michaelvlach Jan 20, 2024
b2bef29
Update queries.md
michaelvlach Jan 20, 2024
ac61b3c
Update queries.md
michaelvlach Jan 20, 2024
bd6b97e
Update queries.md
michaelvlach Jan 20, 2024
3b2477e
Update README.md
michaelvlach Jan 20, 2024
3b2245c
Update tasks.json
michaelvlach Jan 20, 2024
5abafde
Merge branch '992-docs-add-mermaid-diagrams-of-builder-queries' of gi…
michaelvlach Jan 20, 2024
ca6b0b5
update rapidoc
michaelvlach Jan 20, 2024
32d8928
Update db_pool.rs
michaelvlach Jan 20, 2024
b9718b8
tweak
michaelvlach Jan 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<p align="center">
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" alt="license"></a>
<a href="https://crates.io/crates/agdb"><img src="https://img.shields.io/crates/v/agdb" alt="Crates.io"></a>
<a href="https://docs.rs/agdb/latest/agdb/"><img src="https://docs.rs/agdb/badge.svg"></a>
<a href="https://github.com/agnesoft/agdb/actions/workflows/release.yaml"><img src="https://github.com/agnesoft/agdb/actions/workflows/release.yaml/badge.svg" alt="release"></a>
<a href="https://github.com/agnesoft/agdb/actions/workflows/coverage.yaml"><img src="https://github.com/agnesoft/agdb/actions/workflows/coverage.yaml/badge.svg" alt="coverage"></a>
<a href="https://codecov.io/gh/agnesoft/agdb"><img src="https://codecov.io/gh/agnesoft/agdb/branch/main/graph/badge.svg?token=Z6YO8C3XGU" alt="codecov"></a>
Expand All @@ -46,7 +47,7 @@
## <img width="25" src="./docs/images/logo.svg" alt="agdb logo">&nbsp;&nbsp;Agnesoft Graph Database

<p align="center">
<a href="./docs/but_why.md">Why not SQL?</a> | <a href="#decision-tree">DECISION TREE</a> | <a href="./docs/troubleshooting.md">Troubleshooting</a>
<a href="./docs/but_why.md">Why not SQL?</a> | <a href="#decision-tree">DECISION TREE</a> | <a href="./docs/queries.md">Queries</a>
</p>

The Agnesoft Graph Database (aka _agdb_) is persistent, optionally memory mapped graph database with native object 'no-text' queries. It can be used as a main persistent storage, data analytics platform as well as fast in-memory cache. Its typed schema-less data store allows for flexible and seamless data updates with no downtime or costly migrations. All queries are constructed via a builder pattern or directly as objects with no special language or text parsing.
Expand Down Expand Up @@ -167,35 +168,36 @@ For database concepts and primitive data types see [concepts](docs/concepts.md).
## <img width="25" src="./docs/images/logo.svg" alt="agdb logo">&nbsp;&nbsp;Decision Tree

```mermaid
graph TD;
flowchart TD;
A[Embedded or server?] --> Embedded
A --> B[Client or hosting?]
Embedded --> Queries[<a href='https://github.com/agnesoft/agdb/blob/main/docs/queries.md'>Queries</a>]
Embedded --> Studio[<a href='https://github.com/agnesoft/agdb/blob/main/docs/studio.md'>Studio</a>]
Embedded --> Queries[<a href='https://github.com/agnesoft/agdb/blob/main/docs/queries.md'>Queries</a>]
B --> Client
B --> Hosting
Client --> API[<a href='https://github.com/agnesoft/agdb/blob/main/docs/api.md'>API</a>]
Client --> Studio
Client --> Queries
Hosting --> Server[<a href='https://github.com/agnesoft/agdb/blob/main/docs/server.md'>Server</a>]
Hosting --> Cloud[<a href='https://github.com/agnesoft/agdb/blob/main/docs/server.md'>Cloud</a>]
```

## <img width="25" src="./docs/images/logo.svg" alt="agdb logo">&nbsp;&nbsp;Roadmap

The following are planned features in no particular order:

| Feature | Description |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Data replication & RAFT protocol | Allow replication by connecting several database nodes together with a RAFT protocol. |
| #\[no_std] | The `agdb` does not require any dependencies and thus should be (in theory) `no_std` friendly but it will likely require some development & testing. |
| Agdb Studio | Graphical interface to `agdb` |
| Python Client | Convenience client using bindings genereated from OpenAPI. |
| Java Client | Convenience client using bindings genereated from OpenAPI. |
| C# Client | Convenience client using bindings genereated from OpenAPI. |
| C Client | Convenience client using bindings genereated from OpenAPI. |
| C++ Client | Convenience client using bindings genereated from OpenAPI. |
| Agdb Playground | Free public cloud-based playground to tinker with `agdb`. |
| Public Cloud Offering | Commercial & supported `agdb` instance hosted in a public cloud. |
The following are planned features with target versions:

| Feature | Description | Version |
| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| Agdb Studio | Graphical interface to `agdb` | 0.7.0 |
| Python Client | Convenience client using bindings genereated from OpenAPI. | 0.7.0 |
| Java Client | Convenience client using bindings genereated from OpenAPI. | 0.8.0 |
| C# Client | Convenience client using bindings genereated from OpenAPI. | 0.8.0 |
| C Client | Convenience client using bindings genereated from OpenAPI. | 0.8.0 |
| C++ Client | Convenience client using bindings genereated from OpenAPI. | 0.8.0 |
| Data replication & consensus protocol | Allow replication by connecting several database nodes together with a RAFT protocol. | 0.9.0 |
| Agdb Playground | Free public cloud-based playground to tinker with `agdb`. | 0.9.0 |
| #\[no_std] | The `agdb` does not require any dependencies and thus should be (in theory) `no_std` friendly but it will likely require some development & testing. | 1.0.0 |
| Public Cloud Offering | Commercial & supported `agdb` instance hosted in a public cloud. | 1.0.0 |

## <img width="25" src="./docs/images/logo.svg" alt="agdb logo">&nbsp;&nbsp;Reference

Expand Down
2 changes: 1 addition & 1 deletion agdb/src/query_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl QueryBuilder {
Remove {}
}

/// Search teh database by traversing the graph
/// Search the database by traversing the graph
/// and returns element ids using breadth first,
/// depth first or A* algorithm:
///
Expand Down
Loading
Loading