【发布时间】:2019-11-26 07:22:17
【问题描述】:
如何使用自定义元素在joint.js中对svg元素(如rect、g标签内的文本)进行分组?
我只需要这样的东西。
<g record-group="0" joint-selector="group_0" id="v-225" transform="matrix(1,0,0,1,10,30)">
<g joint-selector="bodiesGroup_0" id="v-222" fill="transparent" stroke="none">
<rect x="-10" y="0" height="20" item-id="value_1" joint-selector="itemBody_value_1" id="v-217" class="record-item-body" stroke="black" width="83"></rect>
</g>
</g>
【问题讨论】:
标签: javascript reactjs svg jointjs