Hyperlinks in the GraphRepHyperlinks in the GraphRepRE: Hyperlinks in the GraphRepMehmet Albayrakhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=4962802016-03-22T08:57:16Z2016-03-22T08:56:43Z1) You can use an attribute of type string and change it in the modelling environment (NOTEBOOK) that you can read in the GraphRep. The linkage would be odne with the so called HOTSPOT command.In this case it would be like:[font='courier new', courier]AVAL hl:"reference_attribute"<br /><br /><div class="code"><span class="code-lines">1</span>AVAL txt:"text_attribute"<br /><span class="code-lines">2</span>IF (LEN hl)<br /><span class="code-lines">3</span> FILL color:lightblue<br /><span class="code-lines">4</span> ELLIPSE x:1.4cm y:-0.3cm rx:0.35cm ry:0.25cm<br /><span class="code-lines">5</span> FONT h:0.4cm<br /><span class="code-lines">6</span> TEXT (txt) x:-.5cm y:-0.5cm <br /><span class="code-lines">7</span> HOTSPOT "reference_attribute" x:-.5cm y:-0.5cm w:0.5cm h:0.5cm<br /><span class="code-lines">8</span>ENDIF<br /></div><br />2) You can use here your implementation below and if you want to display the name of the target instance you have to set the format to '%o'. <br />3) See 2.<br /><br />You can find a detailed documentation with an example of the GraphRep at the following link:<br /><a href="https://www.adoxx.org/live/adoxx-notation-language-graphrep">https://www.adoxx.org/live/adoxx-notation-language-graphrep</a>Mehmet Albayrak2016-03-22T08:56:43ZHyperlinks in the GraphRephttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=4962742016-03-22T08:54:24Z2016-03-22T08:54:24ZI am currently working on ADOxx metamodelling and I'm having a hard time with some details.<br /><u>The following command allows me to have two functions:</u><br />1) show in a rectangle the name of the class to whom the instance is referenced<br />2)Allows me to click the link that takes me directly to that class<br />------------------------------------------------------------------------------------------------------------------<br /><strong>#set the link of the reference</strong><strong> IF (sProcess != "")</strong><strong> <br /> ATTR "Reference capability" x</strong><strong>: (</strong><strong>tabx2 + (tabw3/2) )</strong><strong> y</strong><strong>: (</strong><strong>taby1+(tabh2/2)+(0.3cm)) </strong><strong> <br /> w:c: (tabw2+tabw3) h:c</strong><strong>: (</strong><strong>tabh2-0.2cm)</strong><strong> line-break:rigorous <br /> format:"%m" </strong><strong> <br />ENDIF<br /></strong>------------------------------------------------------------------------------------------------------------------<br />Please see the screenshot attached for further clarification<br /><br /><u>What I would need is some support with all these 3 options below:</u><br />1)be able to substitute the name of the link with whatever text I want without disrupting the link<br />2)Substitute the name of the instance which is in the middle with the name of the link(so only the link remains in the middle of the instance).<br />3) I am referring to an instance but the link shows only the referred class. How can I show only the referred instance instead?<br />Thank you very for your hep and support2016-03-22T08:54:24Z