I believe so! On
page five under the "Override shapeFor" section it references the shapeFor function:
```
CustomConstantsProvider.prototype.shapeFor = function(
connection) {
switch (connection.type) {
case Blockly.INPUT_VALUE:
case Blockly.OUTPUT_VALUE:
return this.RECT_INPUT_OUTPUT;
case Blockly.PREVIOUS_STATEMENT:
case Blockly.NEXT_STATEMENT:
return this.RECT_PREV_NEXT;
default:
throw Error('Unknown connection type');
}
};
```
This function takes in a connection, and returns a shape based on that. If you want, this function could look at the block the connection is associated with, before returning a shape based on that block.