wangzhengbo
wangzhengbo
So i can parse audio/video encoders/decoders from 'ffmpeg -formats' command's output by split line with '\n'.
使用了自定义Html节点,但是在页面卸载时,自定义HTML节点的componentWillUnmount不会执行。但是HtmlNode中包含了componentWillUnmount接口
自定义HTML节点,设置了html的border,在拖拽时会有残留的拖拽痕迹,可能是竖线或者横线,颜色和html节点的边框颜色值一样。节点再次拖到痕迹上去可以抹去痕迹。用官方LogicFlow的examples中的html节点实例就可以复现, logicflow用的1.1.11版本。拖动节点快速左右上线移动,比较小的概率能复现。在我自己的项目中这个问题比较明显。
拖拽时生成的faker node的virtual字段拿不到,希望能够暴露出virtual字段。 因为非virtual node上需要通过logicflow.on来注册一些事件,但不希望在virtual node上注册。 目前的做法是在Model的构造函数中去拿第一个参数nodeConfig的virtual属性,并自己记录下来,希望官方能提供,类似于edge。 目前官网的edge上应该是可以拿到virtual字段的。 ```js createVirtualEdge(edgeData) { edgeData.pointsList = undefined; const model = this.graphModel.addEdge(edgeData); model.virtual = true; // 强制不保存group连线数据 model.getData = () => null; model.text.editable = false;...
The following css ```css /* 2 rows x 2 columns */ .example { display: grid; grid-template-rows: 50px 100px; grid-template-columns: 50px 100px; } /* 2 rows x 4 columns */ .example2...
There is a noise when playing on iOS after upgrade audioinput to 1.0.2. Works well on Android. Because 1.0.2 normalize to typed array.
网易的megalo也是基于vue,是基于vue 2.6版本,比mpvue支持更多的语法,能否增加megalo的评测呢?
请问不计划更新了吗?
从A节点连线到B节点,在B节点内释放,目前会自动连接到B节点上最近的锚点(node.ts中getClosestAnchor方法计算出来的)。 希望能提供配置属性,让业务代码有能力决定连接哪个锚点,默认还是链接最近的锚点。 具体应用的场景: 画布上节点比较多,为了不让连线看起来很混乱,节点上只会显示1个锚点。前一个节点显示右侧锚点,后一个节点显示左侧锚点。 从前一个节点连到后一个节点时候,需要在后一个节点的左侧锚点或者左侧区域释放才能连上。如果在后一个节点右侧区域释放,连不到后续节点的左侧的锚点。想实现的效果的,不管是在节点的哪个区域释放,都能连接到左侧锚点。(节点本身是有左右2个锚点,不过在连接的时候,前序节点的左侧锚点和后续节点的右侧锚点通过css做了隐藏)。 const getClosestAnchor = (position: Point, node: BaseNode): AnchorInfo API改成 const getClosestAnchor = (position: Point, node: BaseNode, customGetAnchorFunction?: (point: Point, node: BaseNode) => Point | null):...
…, Draging->Dragging, draginng -> dragging, circel -> circle, formatkey -> formatKey, formated -> formatted, zindex -> zIndex, TransfromModel -> TransformModel, isZoomout -> isZoomOut, dirction -> direction, Polyone -> Polygon, getCorssPoint...