41

GitHub - Arafatk/DataViz: Build and Visualize data structures in Golang

 6 years ago
source link: https://github.com/Arafatk/DataViz
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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 cask 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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK