DataViz 在Golang中构建和可视化数据结构

DataViz 在Golang中构建和可视化数据结构。 受Memviz和Gods的启发,这个库可以帮助用户使用标准的数据结构,同时为他们提供构建自己的数据结构和可视化选项的工具....

Go 其它杂项

访问GitHub主页

共341Star

详细介绍

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.