Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


Multiple graphcontrol and how to manage separately!

0 votes
Hi team,

I am working on project which related to HTML yfiles library! I have problem and want to ask team for supporting...

I have two graphcontrols were generated by HTML (via code data-type="GraphControl") and they are named as graphA and graphB. I have big graph on graphA with a huge (more thang 1000 nodes) nodes, edges... So now I want to click on any node of graphA to show successors, predecessors, neighbors of selected node on graphB and layout it again.
You know, I am trying assign graphB = graphA and do the layout method for graphB but both of them were affected! I know that it was referenced but I don't know how to clone the part (neighbors, successors..) of graphA for graphB and do the layout method...

Can you please help me!

I tried many method like filter node from A for B then do the layout work. Or assign b equal to a (b = a) then do the layout work... but it didn't work :(

Many thanks!
closed with the note: Not a yEd question.
in Help by (120 points)
closed by

1 Answer

0 votes

This forum is for yEd questions only. For questions regarding the yFiles for HTML programming library, please contact yWorks support by mail. (Please include your yWorks customer or evaluator ID in your mail when doing so.)

by [yWorks] (160k points)
Legal Disclosure | Privacy Policy