Amir
Amir

Reputation: 309

Compound nodes with multiple parent in cytoscape.js

I am creating an editor for bayesian nets (template notations) in cytoscape.js. In the template notation sometimes I need to have a node with two parents. Like the graph in the picture.

enter image description here https://camo.githubusercontent.com/cf73312544e33691bbf72d62687ae5328597c59b/687474703a2f2f692e696d6775722e636f6d2f437a4e796b2e706e67

Taken from: https://github.com/jluttine/tikz-bayesnet

I could not find such a plugin, I appreciate it if someone has suggestions.

Upvotes: 1

Views: 1392

Answers (1)

user3140972
user3140972

Reputation: 1065

As others mentioned, this is not supported in Cytoscape.js. The compound graph model in Cytoscape.js is "disjoint hierarchical" - a given node can have only one direct parent.

Upvotes: 1

Related Questions