generated from VLADIMIR/template
add link doors
This commit is contained in:
@@ -294,6 +294,16 @@ func (s *StoryService) GetGraph(ctx context.Context) *Graph {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for _, door := range place.Doors {
|
||||||
|
edges = append(
|
||||||
|
edges,
|
||||||
|
&GraphEdge{
|
||||||
|
From: m[s.cleaner.ClearCode(place.Code)],
|
||||||
|
To: m[s.cleaner.ClearCode(door.Code)],
|
||||||
|
Type: "door",
|
||||||
|
},
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return &Graph{
|
return &Graph{
|
||||||
|
|||||||
Reference in New Issue
Block a user