class_diagram

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupInheritance

func GroupInheritance(s int) string

func NamespaceSeparator

func NamespaceSeparator(s string) string

func NewClass

func NewClass(name string, typ ...string) *class

func NewFieldGroup

func NewFieldGroup(group string) *fieldGroup

func NewLine

func NewLine(from, fromField, to, toField, direction, arrowType, tag string) *line

Types

type ClassDiagram

type ClassDiagram interface {
	AddSetting(s string) ClassDiagram
	AddClass(c Object) ClassDiagram
	AddLine(l *line) ClassDiagram
	CleanClasses()
	fmt.Stringer
}

func NewClassDiagram

func NewClassDiagram() ClassDiagram

type Object

type Object interface {
	Name() string
	fmt.Stringer
}

Jump to

Keyboard shortcuts

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