Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 622 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 622 Bytes

Grafonnix

Implementation of grafonnet in nix.

Usage

Most functions return POP objects that are extendable with functions within the object or any other POP extension methods.

For example to create a new row:

r = lib.row.new {}

Then panels can be added with:

r.addPanel { { ... } }

Implementation

The goal is for the code to be as close to grafonnet as possible within the feature set of nix. POP is used to return objects wherever possible, because nix doesn't have a native object system like jsonnet does.