Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDiagramFromDacFile ¶ added in v0.21.2
Types ¶
type BorderChild ¶ added in v0.21.7
type DefinitionFile ¶
type DefinitionFile struct { Type string `yaml:"Type"` // URL,LocalFile,Embed Url string `yaml:"Url"` LocalFile string `yaml:"LocalFile"` Embed definition.DefinitionStructure `yaml:"Embed"` }
type Diagram ¶
type Diagram struct { DefinitionFiles []DefinitionFile `yaml:"DefinitionFiles"` Resources map[string]Resource `yaml:"Resources"` Links []Link `yaml:"Links"` }
type Link ¶
type Link struct { Source string `yaml:"Source"` SourcePosition string `yaml:"SourcePosition"` SourceArrowHead types.ArrowHead `yaml:"SourceArrowHead"` Target string `yaml:"Target"` TargetPosition string `yaml:"TargetPosition"` TargetArrowHead types.ArrowHead `yaml:"TargetArrowHead"` Type string `yaml:"Type"` LineWidth int `yaml:"LineWidth"` LineColor string `yaml:"LineColor"` }
type Resource ¶
type Resource struct { Type string `yaml:"Type"` Icon string `yaml:"Icon"` Direction string `yaml:"Direction"` Preset string `yaml:"Preset"` Align string `yaml:"Align"` FillColor string `yaml:"FillColor"` Title string `yaml:"Title"` TitleColor string `yaml:"TitleColor"` Font string `yaml:"Font"` Children []string `yaml:"Children"` BorderChildren []BorderChild `yaml:"BorderChildren"` }
type TemplateStruct ¶
type TemplateStruct struct {
Diagram `yaml:"Diagram"`
}
Click to show internal directories.
Click to hide internal directories.