New canvas functionalities
Last updated
Last updated
Some new features are available within our new view. Let's go through them one by one:
If you try out the new canvas with an existing bot, your bot dialogs will appear as overlapping. The auto-layout functionality is there to solve that.
To use auto-layout:
From your canvas, click on the auto-layout button at the bottom left of your screen
Your dialogs are now spread over the canvas in a non-overlapping fashion.
Feel free now to drag and drop each dialog where you like it the best!
To add new dialog states to your bot with the new canvas, simply drag and drop them directly from the top-right corner to anywhere you like in the canvas.
By popular demand, the arrows connecting dialog states are now actual flow connections, which means that if a dialog is linked to another one with an arrow, that dialog is going to be followed by the second one. Therefore, an arrow is actually a go-to connection!
Bear in mind that go-to connections between bot messages are not the same as the Go-To dialog type. To be reminded of the difference, check this page.
To link two components with arrows, click the Go To dot at the bottom right corner of a node, after which you're able to connect it with any other existing bot dialog or you can just create a new one if you don't have a dialog available yet.
Delete arrows
The arrows can be deleted by hovering over them and clicking the trash icon. When doing that, the 'go to' condition at the bottom of your dialog will also be deleted.
Connection settings
You have the flexibility to move arrows back and forth at your convenience to achieve the perfect positioning. Additionally, you are able to modify their colours to suit your preferences.
Should you ever want to revert to the previous arrow design, a simple reset option allows you to restore the original arrows instantly.
You can draw arrows from and to the following components:
Intents
Dialog types
Go-To options
Buttons
With the new canvas, we wanted to bring to you as much information as needed from the first glance. Here is what you can see straight away from your flows:
Intents now appear in the actual flow of your bot within green boxes.
Input and output contexts are represented on the intents boxes by an icon pointing inwards (for input context) or downwards (for the output context). You can read was context is there by hovering the icon.
With the new canvas, you get previews of your bot messages, buttons, pictures and much more without needing to open the components!
By clicking on the three dots at the top right corner of a dialog box, you can now either duplicate a dialog, copy its name, or delete it.
The play button to the left of the three dots will trigger that dialog state in the Test your bot window allowing you to see what's happening.