Skip to content

Commit

Permalink
Merge pull request #58 from srajan-kiyotaka/sracho
Browse files Browse the repository at this point in the history
change in docs.
  • Loading branch information
srajan-kiyotaka authored Jun 19, 2024
2 parents e08b204 + 3af52d6 commit 16c2445
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/graphWorld.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Class representing a graph world.
- 'goals' (list): List of goal node IDs.
- 'adj' (dict): Adjacency list representing graph connections.
- 'position' (dict): Dictionary of node positions with node IDs as keys.
- 'edges' (dict, optional): Dictionary of edge information. Default is None.
- 'vals' (dict, optional): Dictionary of node values. Default is None.
- 'edges' (dict, optional): Dictionary of edge value. Default each edge is assigned a value of 1.
- 'vals' (dict, optional): Dictionary of node values. Default each node is assigned the value same as its ID.
- `radius` (int): Radius of nodes in the visualization. Default is 20.
- `fontSize` (int): Font size for node labels. Default is 12.
- `fontBold` (bool): Whether node labels are bold. Default is True.
Expand Down
8 changes: 4 additions & 4 deletions src/traverseCraft/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ class CreateTreeWorld:
- 'goals' (list): List of goal node IDs.
- 'adj' (dict): Adjacency list representing tree connections.
- 'position' (dict): Dictionary of node positions with node IDs as keys.
- 'edges' (dict, optional): Dictionary of edge information. Default is None.
- 'vals' (dict, optional): Dictionary of node values. Default is None.
- 'edges' (dict, optional): Dictionary of edge value. Default each edge is assigned a value of 1.
- 'vals' (dict, optional): Dictionary of node values. Default each node is assigned the value same as its ID.
- radius (int): The radius of the nodes in the world visualization. Default is 20.
- fontSize (int): The font size of the node labels. Default is 12.
- fontBold (bool): Whether to use bold font for the node labels. Default is True.
Expand Down Expand Up @@ -914,8 +914,8 @@ class CreateGraphWorld:
- 'goals' (list): List of goal node IDs.
- 'adj' (dict): Adjacency list representing graph connections.
- 'position' (dict): Dictionary of node positions with node IDs as keys.
- 'edges' (dict, optional): Dictionary of edge information. Default is None.
- 'vals' (dict, optional): Dictionary of node values. Default is None.
- 'edges' (dict, optional): Dictionary of edge value. Default each edge is assigned a value of 1.
- 'vals' (dict, optional): Dictionary of node values. Default each node is assigned the value same as its ID.
- radius (int): The radius of the nodes in the world visualization. Default is 20.
- fontSize (int): The font size of the node labels. Default is 12.
- fontBold (bool): Whether to use bold font for the node labels. Default is True.
Expand Down

0 comments on commit 16c2445

Please sign in to comment.