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.

Edge between two edges (or node and edge), edges inside nodes/edges (recursive encapsulation)

See original GitHub issue

I`m working on project (https://github.com/Konard/LinksPlatform) that uses associative model of data. For example this platform (as database) allows to store egdes between edges. And there is no difference between edges and nodes, all are links (pairs of references to other two links - source & target). Also because link consists of two links this creates a fractal which can be used to store sequences or entire graphs (networks) insite one link.

So my question is it possible to visualize something like this using cytoscape.js ? And if not, is it easy to extend/modify cytoscape.js for that task?

Node to node, node to edge: links

Node to node, node to edge, edge to edge: links-edge-to-edge

Sequence, fractal, recursive encapsulation: 12

I actually tried to change example (http://jsbin.com/gist/5b192c88616af2f75344) like this:

edges: [
      { data: { id: 'ad', source: 'a', target: 'd' } },
      { data: { id: 'eb', source: 'e', target: 'b' } },
      { data: { id: 'adeb', source: 'ad', target: 'eb' } } // Added this edge
    ]

But added edge didn`t show up.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
jricommented, Jan 2, 2019

I’ve created a Cytoscape extension that allows edges to be connected to other edges, according to the Associative Model of Data:
https://github.com/jri/cytoscape-edge-connections

0reactions
jricommented, Dec 14, 2018

@maxkfranz talks about graph model. @Konard talks about associative model, which is inherently different. Although I’m a Cytoscape.js user myself and looking for a visualization/interaction solution for the associative model too, Cytoscape.js might not be the proper foundation for that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding Nodes and Edges in Cytoscape - YouTube
Everyone knows how to import networks into Cytoscape from files and public databases, but did you know that you can also build networks...
Read more >
Attributes - Graphviz
Instructions to customise the layout of Graphviz nodes, edges, graphs, subgraphs, and clusters. ... If the edge appears later, in the format.
Read more >
Networkx: how to combine edges together with condition?
You can use recursion to combine the edges: ... Return True if the node is a "real" endpoint of an edge in the...
Read more >
Using the PostgreSQL Recursive CTE – Part Two - Yugabyte
Learn about recursive CTE programming with the PostgreSQL compatible YugabyteDB distributed SQL database in the Bacon Numbers example (part ...
Read more >
Tutorial - igraph
Selecting vertices and edges; Finding a single vertex or edge with some properties; Looking up vertices by names. Treating a graph as an...
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