[Front-end] [#234] Sample code for how to use Constraint