Added a createCommand for our new polyline figure.