datamodeldiagram

package
v0.480.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDataDiagramWithAppAndType added in v0.99.0

func GenerateDataDiagramWithAppAndType(m *sysl.Module, appName string, typeName string) (string, error)

GenerateDataDiagramWithAppAndType generates the data model for a specific type

func GenerateDataDiagramWithMapper added in v0.217.0

func GenerateDataDiagramWithMapper(mapper *syslwrapper.AppMapper, appName string, typeName string,
) (string, error)

GenerateDataDiagramWithMapper generates the data model diagram for a specific type with a provided mapper The mapper should first be initialised using mapper := syslwrapper.MakeAppMapper(module) mapper.IndexTypes() mapper.ConvertTypes()

func GenerateFullDataDiagram added in v0.99.0

func GenerateFullDataDiagram(m *sysl.Module) (string, error)

GenerateFullDataDiagram accepts a sysl module and returns a string (and an error if any) The resulting string is the mermaid code for the data model for that module

func GeneratePrimitive added in v0.158.0

func GeneratePrimitive(typeName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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