Skip to content
/ pottery Public
forked from toros11/pottery

A simple graphical user interface for Clay

License

Notifications You must be signed in to change notification settings

axsh/pottery

 
 

Repository files navigation

Pottery

Build Status

Pottery is a simple GUI module works with Loam on Clay. It provides graphical network diagram views based on clay datastore.

UI - network design

Network design

UI - physial diagram from the system model store

Physical diagram

UI - logical diagram from the system model store

Logical diagram

How to build and run

$ # Note: Please install go-bindata first.
$ go get github.com/jteeuwen/go-bindata/...
$ # Prerequisites: glide has been installed already.
$ # Prerequisites: Clay has been cloned into $GOPATH/src/github.com/qb0C80aE/clay already.
$ cd $GOPATH/src/github.com/qb0C80aE/clay
$ # Edit: Add the '_ "github.com/qb0C80aE/loam" // Install Loam module by importing' line into the import section of main.go in Clay.
$ # Edit: Add the '_ "github.com/qb0C80aE/pottery" // Install Pottery module by importing' line into the import section of main.go in Clay.
$ glide get github.com/qb0C80aE/loam
$ glide get github.com/qb0C80aE/pottery
$ glide install
$ go generate -tags=prebuild ./...
$ go build
$ ./clay &

How to use

Example diagram

The diagram resource return the physical and logical diagram for inet-henge based on Loam data models.

$ curl -X GET "localhost:8080/diagrams/physical"
$ curl -X GET "localhost:8080/diagrams/logical"

API Server

Endpoint list

Diagram Resource

GET    /diagrams/physical
GET    /diagrams/logical

Thanks

About

A simple graphical user interface for Clay

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.1%
  • Go 42.8%
  • CSS 3.9%
  • HTML 2.2%