阅读背景:

How can I keep jointjs cells from overflowing the paper?

来源:互联网 

I'm using jointjs to make diagrams which will be user-editable. The user may drag them around and relocate each cell. However, when a cell is dragged to the edge, it overflows and becomes cut off. I want to prevent this from happening, instead the cell to stop before it gets to the edge of the paper and not be allowed to cross the edge, thus always staying completely within the paper. The behavior can be seen in jointjs' very own demos here:I'm using jointjs to make diagrams which will b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: