<div dir="ltr"><div>I have a quick and dirty fix. Not for real use, but it shows a proof of concept. I am certainly cutting corners here. <br></div><div><br></div><div>Would like to know how to translate this into a better solution?</div><div>Add a function to the Xcos class that returns a diagram based on cell that is passed?</div><div><br></div><div>Started with this simple problem. Really like Xcos, but it is still very broken. Like to contribute if possible.</div><div><br></div><div>Thanks.<br></div><div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Op di 28 aug. 2018 om 17:40 schreef Johan Wesselink <<a href="mailto:johanwesselink23@gmail.com">johanwesselink23@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Good day,</div><div><br></div><div>I was having a look into some superblock problems. <br></div><div>In version 6.0.1. there are many problems with the super block.</div><div><br></div><div>I have checkout the latest version of the GIT repository and can build and debug it using eclipse. <br></div><div><br></div><div>On this moment I am interested in BugĀ 14670 Super block can be opened more then once. <br></div><div>I already discovered that the xcos/block/actian/BlockParametersAction.java contains the method ActionPerformed on line 96 that actually generates the diagram.</div><div>I am a little bit curious for the architecture.</div><div>I see that a XcosDiagram is created using the UID, Kind and Id of cell that is the SUPER_f block. This is created diagram is then added to the root diagram. <br></div><div>Maybe a very simplistic view, but is it possible to get the root diagram and search for a sub diagram with the same UID, Kind and Id. And so, if this is present does that mean that the diagram is already created and that it only should be shown?</div><div>Or do not understand how it works.</div><div><br></div><div>Sincerely</div><div>Johan<br></div><div><br></div></div>
</blockquote></div>