Skip to content

nextmetaphor/definition-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Definition Graph

definition-graph is a golang-based utility which enables graph-orientated data structures to be defined in simple json or yaml files. These definition files can - and should - be stored within a source code management system, allowing graph-based models to be controlled using standard development workflows, notably including authentication & authorisation-based controls, and implicit auditability. definition-graph provides the ability for definition files to be quickly validated, parsed and converted into a graph representation.

definition-graph provides an API and command-line interface in which to interact with the utility. definition-graph also provides functionality to produce simple reports from the resulting graph using go template syntax. This is typically used to produce html or json summaries of specific subsets of the data.

definition-graph currently uses the sqlite for the database implementation.

Note: definition-graph is currently still in development and is subject to breaking changes.

Code Package Structure

Code Package Structure

Usage

# define the nodeClasses in the database
grfn define -d definition/nodeClass/ -c true

# populate with nodes in the database
grfn populate -d definition/node

About

Utility to help model graph relationships from simple YAML/JSON definition files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages