Initial commit:

Added framework to generate DOT and png files of character map chart
from data folder.
Added all figures in the 1-2 chapters.
Added font file SimSum for render chart
This commit is contained in:
2024-09-02 04:59:36 +00:00
commit 8caf0ac3aa
36 changed files with 1236 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package entity
import r "xyj-figures/pkg/relationship"
type Group struct {
Name string
OtherNames []string `yaml:"other_names,flow"`
Members []string `yaml:"members,flow"`
Relationships []r.Relationship `yaml:"relationships,flow"`
Description string `yaml:"description"`
Links []string `yaml:"links,flow"`
}
func (g Group) GetRelationships() []r.Relationship {
return g.Relationships
}