catalogdiagrams

package
v1.4.99 Latest Latest
Warning

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

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

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