Giter Site home page Giter Site logo

graphael's Introduction

Graphael

What is Graphael?

Graphael is a graph database written in Rust.

Dependencies

Graphael is built for Rust 1.10 or later (currently requires nightly)

The easiest way to install Rust is through the installers provided on the Rust install page.

Getting Started

  1. Run cargo build in the root directory
  2. Run cargo run to run the program

Examples

Enter a graph name> langs
Using 'langs'
1. Nodes with attribute.
2. Nodes with key-value.
3. Edges with label.
4. Edges from node with label.
5. Look up node.

>>> 1
Enter an attribute> ProgrammingLangauge
[Node<id=245, props={name: Alef}>, Node<id=2, props={name: Clipper}>, Node<id=5, props={name: KornShell}> ...]

>>> 2
Enter key-value> name = C
[Node<id=100, props={name: C}>]

>>> 3
Enter label> influenced
{35: {213: Edge<labels=[influenced]>}, 229: {33: Edge<labels=[influenced]>}, 249: {54: Edge<labels=[influenced]> ...}

>>> 4
Enter node and label> 100 HAS influenced
[Node<id=87, props={name: BitC}>, Node<id=158, props={name: Pike}>, Node<id=114, props={name: D programming language}>, Node<id=107, props={name: Go}>, Node<id=28, props={name: AWK}>, Node<id=71, props={name: Perl}>, ...]

>>> 5
Enter node id> 100
Some(Node<id=100, props={name: C}>)

License

MIT

graphael's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.