嗨,我在边缘验证方面遇到了问题
注意:任何方法都是最受欢迎的,但应该解决问题
下面是我的要求
源 -> Action_1 -> Action_2
来源 -> Action_1 <- Action_2
下面的 Gif 显示了我的要求
在上面的 gif 中,出现的文字是我想避免的文字
这是我尝试过的
graph.multiplicities.push(new mxMultiplicity(
true, 'Source', null, null, 1, 1, ['Action_1','Action_2'],
'Source can have 1 Action and from there it can be multiple',
null));
graph.multiplicities.push(new mxMultiplicity(
false, 'Source', null, null, 0, 0, null,
'Source Must Have No Incoming Edge',
null)); // Type does not matter
Run Code Online (Sandbox Code Playgroud)
这是我提到的演示https://jgraph.github.io/mxgraph/javascript/examples/validation.html ,这里是它的代码 https://github.com/jgraph/mxgraph/blob/master/javascript/examples /validation.html
这是Multiplicity …
我正在制作我的第一个反应应用程序并运行命令:npx create-react-app my-app并且我收到此错误:
Error: EEXIST: file already exists, mkdir 'C:\Users\Deepak'
command not found: create-react-app
有人可以帮我解决这个错误吗?