Add graph markdown and canvas outputs
This commit is contained in:
@@ -18,6 +18,7 @@ var resolutionRank = map[string]int{
|
||||
|
||||
type Unit struct {
|
||||
ID string `json:"id" yaml:"id"`
|
||||
Title string `json:"title,omitempty" yaml:"title"`
|
||||
Context string `json:"context,omitempty" yaml:"context"`
|
||||
Resolution string `json:"resolution,omitempty" yaml:"resolution"`
|
||||
With Relations `json:"with,omitempty" yaml:"with"`
|
||||
@@ -105,6 +106,7 @@ type Project struct {
|
||||
|
||||
type IndexEntry struct {
|
||||
ID string `json:"id"`
|
||||
Title string `json:"title,omitempty"`
|
||||
File string `json:"file"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Resolution string `json:"resolution,omitempty"`
|
||||
@@ -144,6 +146,7 @@ type Graph struct {
|
||||
|
||||
type GraphNode struct {
|
||||
ID string `json:"id"`
|
||||
Title string `json:"title,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Resolution string `json:"resolution,omitempty"`
|
||||
File string `json:"file,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user