mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
core: utility method for visualizing worlds as PlantUML (#1935)
* core: typing for MultiWorld.get_regions * core: utility method for visualizing worlds as PlantUML * core: utility method for visualizing worlds as PlantUML: update docs
This commit is contained in:
@@ -559,6 +559,12 @@ def generate_basic(self) -> None:
|
||||
# in most cases it's better to do this at the same time the itempool is
|
||||
# filled to avoid accidental duplicates:
|
||||
# manually placed and still in the itempool
|
||||
|
||||
# for debugging purposes, you may want to visualize the layout of your world. Uncomment the following code to
|
||||
# write a PlantUML diagram to the file "my_world.puml" that can help you see whether your regions and locations
|
||||
# are connected and placed as desired
|
||||
# from Utils import visualize_regions
|
||||
# visualize_regions(self.multiworld.get_region("Menu", self.player), "my_world.puml")
|
||||
```
|
||||
|
||||
### Setting Rules
|
||||
|
Reference in New Issue
Block a user