catalogdiagrams

package
v1.4.122 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

README

package catalogdiagrams is a re-write of a whole bunch of internal sysl diagramming code but with fixes so that it can work better with the markdown generator, for example it can recursively get all types unlike the sysl datamodeldiagram package

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDataModel added in v1.2.30

func GenerateDataModel(parentAppName string, t map[string]*sysl.Type) string

GenerateDataModel takes all the types in parentAppName and generates data model diagrams for it

func RecursivelyGetTypes added in v1.4.29

func RecursivelyGetTypes(appName string, types map[string]*sysl.Type, m *sysl.Module) map[string]*sysl.Type

func RecursivelyGetTypesHelper added in v1.4.29

func RecursivelyGetTypesHelper(appName string, t *sysl.Type, m *sysl.Module, cummulative map[string]*sysl.Type) map[string]*sysl.Type

RecursivelyGetTypesHelper gets returns a type map of a type and all of its fields recursively.

func TypeFromRef

func TypeFromRef(mod *sysl.Module, appName string, t *sysl.Type) (string, string, *sysl.Type)

Types

type DataModelParam

type DataModelParam struct {
	datamodeldiagram.DataModelParam
}

type DataModelView

type DataModelView struct {
	datamodeldiagram.DataModelView
}

func (*DataModelView) GenerateDataView

func (v *DataModelView) GenerateDataView(dataParam *DataModelParam, appName string, tMap map[string]*sysl.Type) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL