Skip to content

abhishekraok/GraphMap

Repository files navigation

GraphMap

Organizing the images of the world

Build Status

a way to organize image in a spatial 2D layout. It is a directed cyclic graph where every node has either 0 or 4 edges. Each node may or may not have an image on them. One can imagine this as a quad tree (although cycles are possible), and you are looking from the bottom. Each child gets a quadrant. If a child has an image it covers the parent image in that quadrant. If a node doesn't have an image it is invisible.

Graph Map structure

Features

  • The created graph is immutable. New nodes can be added but old ones cannot be modified.
  • Functional approach is used, GraphMap class returns a Result value and does not throw exception.

See it in Action

KaiiMap Gallery is a website created that uses GraphMap and OpenSeadragon.

Installation

You can use pip to install the stable version

pip install graphmap

If you want to install the latest directly from github you can use

pip install git+https://github.com/abhishekraok/GraphMap

Getting Started

Contributing

Contributions are welcome. Please have unit tests.

Inspiration