<?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: NextUI Improved view in Tools</title>
    <link>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457539#M89</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right, the force layout works the way you illustrated. Check &lt;A href="http://codepen.io/NEXTSUPPORT/pen/PGZQdQ"&gt;this example&lt;/A&gt; out in order to add hierarchical layout to your app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Mar 2017 15:48:20 GMT</pubDate>
    <dc:creator>alzverev</dc:creator>
    <dc:date>2017-03-02T15:48:20Z</dc:date>
    <item>
      <title>NextUI Improved view</title>
      <link>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457536#M86</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;A pair of questions:&lt;/P&gt;&lt;P&gt;1) I have tried the force layout for my initial use case (40 nodes and 100 links), but it's still messy.&amp;nbsp; My second use case is a larger network. Any other way to improve the automatic position of the nodes?&lt;/P&gt;&lt;P&gt;2) Considering that force layout is still not good for me, I have tried the manual position of the nodes but it takes a lot of time to have a good layout. Once the layout is complete, all the position is lost after the page is reloaded. Is there a way to automatically save those positions?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Raul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 05:58:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457536#M86</guid>
      <dc:creator>raul.mujica</dc:creator>
      <dc:date>2017-03-02T05:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: NextUI Improved view</title>
      <link>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457537#M87</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Force layout is supposed to spread out nodes automatically based on their number. The algorithm derived from d3.js library, which in turn had come to d3.js from scientific researches on a physical phenomenon. &lt;SPAN style="font-size: 10pt;"&gt;I would encourage you to share your ideas on what the node positioning should looks like in your case, so we could provide more guidance on that. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, saving the manual configuration of the topology appearance needs additional configuration, as it's not a frequent use-case (as it may seem at first) and it depends on the architecture of your app. For example, if you choose to store manually entered coordinates in OpenDaylight data storage, a smart idea would be to come up with new API method and invoke it in your script, as browser notices changes in topology positioning. See &lt;A href="https://github.com/zverevalexei/bierman-gui/blob/master/web/app/bierman.controller.js#L392-L407"&gt;our example&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you choose to store topology's positioning data in browser's local storage, that's a good idea, too. See &lt;A href="https://github.com/CiscoDevNet/pceof-gui/blob/b01bb85987f9a57ac6fb5986a71046efb4f6294d/gui/src/main/webapp/src/app/components/topology/next_topology.service.js#L88-L144"&gt;another example&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raul, I would like to say that NeXt is an open-source project, and everyone is encouraged to contribute to it. Just in case you find the resolution to any of the mentioned issued you ran into, or if you consider improving anything else you see along the way, you can help the community that uses NeXt - people just like you. If you ever consider committing to NeXT repository, please read our &lt;A href="https://github.com/NeXt-UI/next-tutorials/blob/master/tutorials/contributors-guide.md"&gt;Contributor's Guide&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 06:58:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457537#M87</guid>
      <dc:creator>alzverev</dc:creator>
      <dc:date>2017-03-02T06:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: NextUI Improved view</title>
      <link>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457538#M88</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex:&lt;/P&gt;&lt;P&gt;Thanks for your prompt response.&lt;/P&gt;&lt;P&gt;Attached you will find the two views ... manual and using the force algorithm.&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Raul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Force ...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="force.png" class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/105057_force.png" style="height: 483px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manual&lt;/P&gt;&lt;P&gt;&lt;IMG alt="manual.png" class="jive-image image-2" src="https://community.cisco.com/legacyfs/online/fusion/105058_manual.png" style="height: 331px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:59:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457538#M88</guid>
      <dc:creator>raul.mujica</dc:creator>
      <dc:date>2017-03-02T14:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: NextUI Improved view</title>
      <link>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457539#M89</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right, the force layout works the way you illustrated. Check &lt;A href="http://codepen.io/NEXTSUPPORT/pen/PGZQdQ"&gt;this example&lt;/A&gt; out in order to add hierarchical layout to your app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 15:48:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457539#M89</guid>
      <dc:creator>alzverev</dc:creator>
      <dc:date>2017-03-02T15:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: NextUI Improved view</title>
      <link>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457540#M90</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex:&lt;/P&gt;&lt;P&gt;I'm very new on this java coding .. what particular piece should I be looking at?&lt;/P&gt;&lt;P&gt;Besides the buttons and "dataProcessor: 'force'", I don't see anything else.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Raul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 21:42:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457540#M90</guid>
      <dc:creator>raul.mujica</dc:creator>
      <dc:date>2017-03-02T21:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: NextUI Improved view</title>
      <link>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457541#M91</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex:&lt;/P&gt;&lt;P&gt;I've ended up using NetworkX offline (backend) to define the positioning of the nodes. At this point and considering my extremely limited knowledge of JS, the combination of NetworkX and NextUI is great for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="networkx.png" class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/105072_networkx.png" style="height: 493px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also trying with a larger network of 110 nodes ... the view is still good ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="networkx-100.png" class="jive-image image-2" src="https://community.cisco.com/legacyfs/online/fusion/105073_networkx-100.png" style="height: 576px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Raul &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 23:03:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/nextui-improved-view/m-p/3457541#M91</guid>
      <dc:creator>raul.mujica</dc:creator>
      <dc:date>2017-03-02T23:03:34Z</dc:date>
    </item>
  </channel>
</rss>

