Link path is not showing
See original GitHub issueHello guys!
I’m faced of this issue, When I render the simple diagram the path of link is not showing, I attach a gif,
https://drive.google.com/open?id=1NExH1wrOE_R6AXx_2dDFkhT4KLTI64V4
on my code ` const { engine } = this.state;
engine.installDefaultFactories();
//2) setup the diagram model
var model = new DiagramModel();
//3-A) create a default node
const node1 = new DefaultNodeModel("Node 1", "rgb(255,99,66)");
let port1 = node1.addOutPort("Out");
node1.setPosition(100, 100);
//3-B) create another default node
const node2 = new DefaultNodeModel("Node 2", "rgb(192,255,0)");
let port2 = node2.addInPort("In");
node2.setPosition(400, 100);
// link the ports
let link1 = port1.link(port2);
// (link1 as DefaultLinkModel).addLabel("Hello World!");
//4) add the models to the root graph
model.addAll(node1, node2, link1);
//5) load model into engine
engine.setDiagramModel(model);
this.setState({
diagramEngine: engine,
});`
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (1 by maintainers)
Top Results From Across the Web
link path not working as expected :reactjs
It's possible to do that. let's implement it step by step: First, you need a method to get the current page's URL. there...
Read more >File explorer not displaying complete path for certain ...
The only solution to this is to either open a sub-folder of Downloads and copy the path from the address bar (but then...
Read more >I cannot create relative path links - CSS
I am trying to make a basic website on visual studio code editor as part of the arts & crafts project Firstly emphasized...
Read more >How to Fix the "Network Path Was Not Found" Error on ...
If you encounter the "network path name was not found" error, then the first thing that you should do is double-check the path...
Read more >How to create a link to a file or folder in Windows (2 ways)
My file path link doesn't work! Why? ... There's also the possibility that on some older versions of Windows, or in other operating...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any luck with this ?. I’m experiencing the same issue.
That was the first thing I checked. if you see the follow image with gray backgrond color , seems that path lost the relation between the nodes