<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Conditionally change Node Label offset in Tools</title>
    <link>https://community.cisco.com/t5/tools/conditionally-change-node-label-offset/m-p/3533818#M306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to use standard size for all objects, but I went ahead and prepared an example for you: &lt;A href="http://codepen.io/NEXTSUPPORT/pen/dXBdzK?editors=0010" title="http://codepen.io/NEXTSUPPORT/pen/dXBdzK?editors=0010"&gt;http://codepen.io/NEXTSUPPORT/pen/dXBdzK?editors=0010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code extends the node class by overriding the implementation of "calcLabelPosition" method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should you have a question - I'm here to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 13:51:20 GMT</pubDate>
    <dc:creator>alzverev</dc:creator>
    <dc:date>2016-08-25T13:51:20Z</dc:date>
    <item>
      <title>Conditionally change Node Label offset</title>
      <link>https://community.cisco.com/t5/tools/conditionally-change-node-label-offset/m-p/3533817#M305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a custom icon registered and working (it's size is wider and has less height - 48 x 16).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is whether it's possible to change the x &amp;amp; y label offsets &lt;EM&gt;&lt;STRONG&gt;ONLY&lt;/STRONG&gt;&lt;/EM&gt; for nodes with that icon? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My investigations so far seem to point this being controlled by Node.js-&amp;gt;content-&amp;gt;view-&amp;gt;props-&amp;gt;y value but I am not sure how to conditionally set this for the node subset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:49:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/conditionally-change-node-label-offset/m-p/3533817#M305</guid>
      <dc:creator>ben-redfern</dc:creator>
      <dc:date>2016-08-02T10:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally change Node Label offset</title>
      <link>https://community.cisco.com/t5/tools/conditionally-change-node-label-offset/m-p/3533818#M306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend to use standard size for all objects, but I went ahead and prepared an example for you: &lt;A href="http://codepen.io/NEXTSUPPORT/pen/dXBdzK?editors=0010" title="http://codepen.io/NEXTSUPPORT/pen/dXBdzK?editors=0010"&gt;http://codepen.io/NEXTSUPPORT/pen/dXBdzK?editors=0010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code extends the node class by overriding the implementation of "calcLabelPosition" method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should you have a question - I'm here to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:51:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/conditionally-change-node-label-offset/m-p/3533818#M306</guid>
      <dc:creator>alzverev</dc:creator>
      <dc:date>2016-08-25T13:51:20Z</dc:date>
    </item>
  </channel>
</rss>

