question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Link path is not showing

See original GitHub issue

Hello 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
chidionuekwusicommented, Jan 7, 2019

Any luck with this ?. I’m experiencing the same issue.

1reaction
lmoraobandocommented, Sep 27, 2018

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

image

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found