I have some code for a jointjs demo that includes basic shapes on a paper. I am looking to adjust the size of the shapes or highlight them when clicked on or when the cursor moves over them.
var graph = new joint.dia.Graph;
var paper = new joint.dia.Paper({
el: $('#paper'),
width: 650,
height: 400,
gridSize: 20,
model: graph
});
// Code for creating and adding various shapes to the graph...
As a beginner with jointjs, I faced challenges while trying to resize the shapes. Any assistance would be greatly appreciated.
// Further code snippets showcasing click events and resizing functionality...
Although highlighting is working upon clicking the cell, I also aim to enable resizing of the cells upon clicking on them.
Your guidance in resolving this issue would be highly valuable.