• Stars
    star
    404
  • Rank 106,897 (Top 3 %)
  • Language
    Go
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

Build and Visualize data structures in Golang

GoDoc Build Status Go Report Card License: MIT stability-stable Maintainability

DataViz

Build and visualize data structures in Golang. Inspired by the ideas from memviz and Gods this library helps user to play around with standard data structures while also giving them the tools to build their own data structures and visualization options....
Graphviz logo

Documentation

Documentation is available at godoc.

Requirements

  • graphviz
    • build graphviz from source
    • linux users
      • sudo apt-get update
      • sudo apt install python-pydot python-pydot-ng graphviz
    • mac users (Link)
      • install homebrew
      • brew install graphviz

Installation

go get github.com/Arafatk/Dataviz

Data Structures

  • Containers
    • Lists
      • ArrayList
      • SinglyLinkedList
      • DoublyLinkedList
    • Stacks
      • ArrayStack
    • Maps
      • TreeMap
    • Trees
      • RedBlackTree
      • AVLTree
      • BTree
      • BinaryHeap
  • Functions
    • Comparator
    • Iterator
      • IteratorWithIndex
      • IteratorWithKey
      • ReverseIteratorWithIndex
      • ReverseIteratorWithKey
    • Enumerable
      • EnumerableWithIndex
      • EnumerableWithKey
    • Serialization
      • JSONSerializer
      • JSONDeserializer
    • Sort
    • Container
    • Visualizer

Usage and Examples

We have a blog post explaining our vision and covering some basic usage of the dataviz library. Check it out here.

  • Binary Heap
    Heap
  • Stack
    Stack
  • B Tree
    B Tree
  • Red Black Tree
    RBT

Contributing

We really encourage developers coming in, finding a bug or requesting a new feature. Want to tell us about the feature you just implemented, just raise a pull request and we'll be happy to go through it. Please read the CONTRIBUTING and CODE_OF_CONDUCT file.