Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State[T comparable] struct { // contains filtered or unexported fields }
func New ¶
func New[T comparable]() State[T]
func (State[T]) ToYamlFormat ¶ added in v0.4.1
func (s State[T]) ToYamlFormat() YamlFormat[T]
type YamlFormat ¶ added in v0.4.1
type YamlFormat[T comparable] struct { LinksTo map[T][]T `yaml:"linksTo"` LinksFrom map[T][]T `yaml:"linksFrom"` ParentsOf map[T][]T `yaml:"parentsOf"` ChildrenOf map[T][]T `yaml:"childrenOf"` HereditaryChildrenOf map[T][]T `yaml:"hereditaryChildrenOf"` HereditaryLinksFrom map[T][]T `yaml:"hereditaryLinksFrom"` }
func YamlFormatFromBytes ¶ added in v0.4.1
func YamlFormatFromBytes[T comparable](in []byte) (*YamlFormat[T], error)
Click to show internal directories.
Click to hide internal directories.