• Stars
    star
    184
  • Rank 203,616 (Top 5 %)
  • Language
    Kotlin
  • License
    Mozilla Public Li...
  • Created over 5 years ago
  • Updated 9 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TypeDB Studio (IDE)

Factory Discord Discussion Forum Stack Overflow Stack Overflow

TypeDB Studio

TypeDB Studio

TypeDB Studio is a fully-featured Integrated Development Environment (IDE) for TypeDB.

You can utilise Studio as you would TypeDB Console and the TypeDB Clients: to connect to your TypeDB instance and perform queries.

Studio is an IDE designed for the end-to-end development of TypeDB databases, database queries, and data exploration, via a clean and intuitive UI that gives you a top-down view of your entire database.

Usage

Connect to TypeDB

Upon launching Studio, you'll be asked for your TypeDB server details and to choose or create a database.

Manage TypeDB Projects

After connecting to TypeDB and selecting a database, Studio will prompt you to open (or create) a project directory. This is where Studio will load and save query files, but you can also freely edit text files in the project directory using Studio. The project browser maintains a live view of the directory contents on the filesystem.

Manage Database Schemas

Manage Database Schemas

The Type Browser provides a structured tree view of the connected database's type hierarchy. Double-clicking on any of the listed types will bring up a page that lists their properties in detail โ€” supertype, roles played, attributes owned and more.

Run TypeQL Queries

Log Output

Studio's text editor comes equipped with rich developer tooling, like syntax highlighting for TypeQL files (*.tql), with more advanced features currently under development. Studio's intuitive and self-explanatory interface enables a rapid, iterative workflow.

TypeDB Studio brings session and transaction configuration to the forefront, providing greater visibility to the user about the state of the system. Studio allows you to run any TypeQL query, pretty-printing results to the Log Output window which is easily searchable (and supports regex matching.)

Graph Visualisation

Graph Visualisation

Reasoning about text outputs in TypeDB Console or through the various TypeDB Clients can be difficult to do for large datasets. Studio's advanced force-graph visualisation makes the underlying structure of data immediately apparent.

Reasoning and Explanations

Inference Visualisation

Select infer and explain, then double-click highlighted inferred concepts to retrieve their explanations and visualise how the fact was inferred.

Download TypeDB Studio

You can download TypeDB Studio from the Download Centre or GitHub Releases.

Developer Resources

Compiling and Running TypeDB Studio from Source

Note: You DO NOT NEED to compile TypeDB Studio "from source" if you just want to use TypeDB Studio. You can simply download TypeDB Studio following the section above.

  1. Make sure you have the following dependencies installed on your machine:

    • Java JDK 11 or higher
    • Bazel 5 or higher. We use Bazelisk to manage multiple Bazel versions transparently. Bazelisk runs the appropriate Bazel version for any bazel command as specified in .bazelversion file. In order to install it, follow the platform-specific guide:
      • MacOS: brew install bazelbuild/tap/bazelisk
      Linux: wget https://github.com/bazelbuild/bazelisk/releases/download/v1.4.0/bazelisk-linux-amd64 -O /usr/local/bin/bazel
  2. Depending on your Operating System, you can compile and run TypeDB Studio with either one of the following commands.

    $ bazel run //:studio-bin-mac
    $ bazel run //:studio-bin-windows
    $ bazel run //:studio-bin-linux

    You can also replace run with build in the command above, and Bazel will simply produce the JAR for TypeDB Studio under bazel-bin/studio-bin-<mac|windows|linux>.jar.

Contributions

TypeDB Studio has been built using various open-source frameworks throughout its evolution. Today TypeDB Studio is built using Kotlin, Compose Multiplatform, and Bazel. Thank you to the developers!

Licensing

This software is developed by Vaticle. It's released under the GNU Affero GENERAL PUBLIC LICENSE, Version 3, 19 November 2007. For license information, please see LICENSE. Vaticle also provides a commercial license for TypeDB Studio - get in touch with our team at [email protected].

Copyright (C) 2022 Vaticle

More Repositories

1

typedb

TypeDB: the polymorphic database powered by types
Java
3,694
star
2

typedb-ml

TypeDB-ML is the Machine Learning integrations library for TypeDB
Python
552
star
3

typeql

TypeQL: the polymorphic query language of TypeDB
Java
212
star
4

biograkn

BioGrakn Knowledge Graph
180
star
5

bazel-distribution

Bazel rules for assembling and deploying software distributions (see @vaticle for usage example)
Starlark
155
star
6

typedb-driver-examples

TypeDB Driver Example Projects and Tutorials
HTML
85
star
7

typedb-driver-python

TypeDB Driver for Python
Python
67
star
8

typedb-awesome

A curated list of awesome TypeDB frameworks libraries, software and resources.
58
star
9

typedb-driver-nodejs

TypeDB Driver for Node.js
TypeScript
32
star
10

typedb-driver

TypeDB Drivers for Rust, Python, Java, Node.js, C, C++, and C#.
Rust
29
star
11

typedb-docs

TypeDB Documentation
Java
24
star
12

typedb-protocol

TypeDB (Core and Cluster) RPC Communication Protocol
Starlark
15
star
13

typedb-driver-rust

TypeDB Driver for Rust
Rust
12
star
14

dependencies

Bazel dependency declarations for build tools reused across @vaticle repositories (only for @vaticle)
Starlark
12
star
15

typedb-behaviour

TypeDB Behaviour Test Specification
Gherkin
10
star
16

bazel-intellij-rust-example

Starlark
10
star
17

typedb-benchmark

TypeDB Simulation and Benchmarking Library
Kotlin
9
star
18

typeql-lang-java

TypeQL language library for Java
Java
9
star
19

typedb-common

TypeDB Common Libraries and Scripts
Java
7
star
20

typedb-console

TypeDB Console: CLI for TypeDB and TypeDB Cluster
Java
7
star
21

homebrew-tap

Ruby
6
star
22

force-graph

Force-directed graph placement library for Java. Rewrite of d3-force.
Java
4
star
23

factory-tracing

Vaticle Factory Tracing Client API for Performance Analysis
Java
3
star
24

ansible-role-grakn

Ansible Role - Grakn
Shell
3
star
25

typedb-examples

TypeDB Examples Projects and Tutorials
3
star
26

typedb-iam

Open Source IAM Schema and Simulation
Kotlin
2
star
27

web-cosmos

Grakn Cosmos: The Universe of Orderly Systems
Handlebars
2
star
28

sudoku-solver

Java
1
star
29

compose-perf

compose-jb Performance Benchmark
Starlark
1
star
30

web-infrastructure

Shell
1
star