This started with a post from Joe Ross on ChiefDelphi.com.
I needed some further details to get this to work.
Out of Date?: To add the proper map to PathWeaver, open a File Explorer to %USERPROFILE%/PathWeaver/Games, make a folder named "Custom Game" and copy 2021-Slalom.png and .json from the PathWeaver git repo then make a zip of the two files with the name 2021-Slalom.zip.
When you create the PathWeaver, use the Slalom map, some reasonable numbers for Max velocity is 2 m/s and 1 m/s2.
Under paths, click the + button then click the Unnamed.path that is created.
Click the starting triangle and change the Y to -8.2 to get it to the bottom of the screen. My son pointed out that you can click the blue line to adjust the Tangents.
Click the ending triangle and move it to the end point.
If you single click the line you can create a new triangle. You can then click and drag the triangle to a new position on the map.
Click Build Paths when done and yes. Somehow (clicking on the path when it was first created?) I got it to rename the project but it didn't work this time.
The {path}.wpilib.json file you need ends up in PathWeaver/output. I had to copy it to src/main/deploy.
After replacing the voltage constraint, etc. code with the PathWeaver code, you have to change exampleTrajectory to just trajectory after the inserted code. There is also a few times that you highlight the error and do Ctrl+. to resolve the problems. Copying the json file to deploy means you can get rid of the paths/ part of the file name. There are better ways to do this where the json file is generated.
When you start the simulation with F5, remember that you will see the robot moving under NetworkTables, SmartDashboard, Field. You can add the map to the simulation by right clicking the top of the /SmartDashboard/Field window and navigating to the png file mentioned above. You have to change the Robot State to Autonomous. It is nice that you don't need a controller.
I found that the path generated by PathWeaver did not scale well to the robot simulation.