add color to svg

This commit is contained in:
2024-10-19 16:36:47 -05:00
parent 9c33a61570
commit aebd25dc16
16 changed files with 318 additions and 142 deletions

View File

@@ -44,7 +44,7 @@ func (s *Set[T]) Copy() Set[T] {
}
func (s *Set[T]) IsDisjoint(otherSet Set[T]) bool {
for attr, _ := range *s {
for attr := range *s {
if otherSet.Contains(attr) {
return false
}
@@ -54,7 +54,7 @@ func (s *Set[T]) IsDisjoint(otherSet Set[T]) bool {
func (s *Set[T]) Intersect(otherSet Set[T]) Set[T] {
intersect := make(Set[T])
for val, _ := range *s {
for val := range *s {
if otherSet.Contains(val) {
intersect.Add(val)
}