Mabuhay, contributors! 🌟
MySchemaFlow needs your assitance. Your task is to create a feature where user can enable a setting to restrict the viewport's movement. You can use this translateExtent property to set a boundary.
Tip:
- Calculate the total width and left position of each node
- Calculate the total height and top position of each node
- This will provide you with an idea of the minimum and maximum values for the
translateExtent property.
- You can use Math.min and Math.max.
Happy Coding ~
Mabuhay, contributors! 🌟
MySchemaFlow needs your assitance. Your task is to create a feature where user can enable a setting to restrict the viewport's movement. You can use this translateExtent property to set a boundary.
Tip:
translateExtentproperty.Happy Coding ~