Patent ID: 8627278

Claim:
In an electronic device, a method comprising: receiving an indication to enter a learning mode in a block diagramming environment; receiving, while in the learning mode, an indication of a pattern; receiving, while in the learning mode, an indication of a block diagram tool; associating the pattern with the block diagram tool so that a subsequent entry of the pattern, in an interpretive mode of the block diagramming environment, results in the block diagram tool being provided in the block diagramming environment; displaying a rendering of the block diagram in the block diagramming environment; receiving a freehand user input, the receiving: performed when the block diagramming environment is in the interpretive mode, and related to the block diagram tool; comparing the freehand user input with the pattern; and as a result of a matching comparison between the freehand user input and the pattern, providing the block diagram tool in the block diagramming environment.