| | | | Browse by category |
Question
How to select and resize nodes in an IlvSDMEngine object?
Answer
By default, resize handles do not appear when you select objects in an IlvSDMEngine
object. In this situation, a selected object is rendered with the style defined for the selected status.
You can change this behavior by setting the highlightingSelection
property in the .css file from true
(its default value) to false
, like this:
SDM {
...
highlightingSelection : "false";
}
Now, when you click on a node in an IlvSDMEngine
object, the handles become visible at selection so that you can resize the node. The documentation of the IlvSDMEngine.setHighlightingSelection
method describes this in detail.
Note that the new size of the object will not be saved automatically to the data model. If you want to save the new size, you can add a listener of type ManagerContentChangedListener
to the grapher and save the new size directly to the data model.