<?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: Dynamically edit node border color? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500302#M61597</link>
    <description>&lt;P&gt;Thanks Chris, works a treat.  I've just stuck the labels into a macro to clean up the search a little.&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 07:56:22 GMT</pubDate>
    <dc:creator>hoangtony</dc:creator>
    <dc:date>2020-05-19T07:56:22Z</dc:date>
    <item>
      <title>Dynamically edit node border color?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500298#M61593</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;

&lt;P&gt;Is there a method to dynamically set the border color of nodes?  I can do it for the node fill color using the color field when generating search results however there isn't an option for border.&lt;/P&gt;

&lt;P&gt;Looking at the SimpleXML I can see it has an option flow_map_viz.flow_map_viz.node_broder_color which sets it for all and is fixed.&lt;/P&gt;

&lt;P&gt;I'm trying to make use of the border color to indicate an issue with the host node whereas the fill is the service running on it and being able to dynamically do this would be great.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:27:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500298#M61593</guid>
      <dc:creator>hoangtony</dc:creator>
      <dc:date>2020-09-30T05:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically edit node border color?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500299#M61594</link>
      <description>&lt;P&gt;Yeah unfortunatly there isn't a way to do this at the moment sorry. You could try put one node over the top of another and just change the size? &lt;/P&gt;

&lt;P&gt;Actually probably a better way would be to enable "HTML in labels" in advanced settings, and then you can pass a small block of HTML formatted text, something like  &lt;CODE&gt;eval label = "&amp;lt;div style=\"border: 2px solid " + my_color_variable + "\"&amp;gt;" + some node contents + "&amp;lt;/div&amp;gt;"&lt;/CODE&gt;  &lt;/P&gt;

&lt;P&gt;This basically gives you infinite customizability but it is a bit ugly.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 09:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500299#M61594</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2020-05-18T09:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically edit node border color?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500300#M61595</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;Thanks for getting back so quickly.   I tried this approach and I'm seeing a border around the label/text itself  (the screen capture above) and not the node border (the screen capture below).&lt;/P&gt;

&lt;P&gt;Btw love the add-on!&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://ibb.co/x2sPPQY" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://imgur.com/g03eT7N" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Edit: Actually I figured that it's a DIV so I can change the width and height to match.  I'll have a play with this, thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 06:05:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500300#M61595</guid>
      <dc:creator>hoangtony</dc:creator>
      <dc:date>2020-05-19T06:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically edit node border color?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500301#M61596</link>
      <description>&lt;P&gt;Yeah by injecting your own HTML with CSS you can do anything you want&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 06:56:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500301#M61596</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2020-05-19T06:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically edit node border color?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500302#M61597</link>
      <description>&lt;P&gt;Thanks Chris, works a treat.  I've just stuck the labels into a macro to clean up the search a little.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 07:56:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/500302#M61597</guid>
      <dc:creator>hoangtony</dc:creator>
      <dc:date>2020-05-19T07:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically edit node border color?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/553796#M65771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/68301"&gt;@hoangtony&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please share how you are dynamically able to set the border using node fill color using the color field when generating search results&amp;nbsp;?&lt;BR /&gt;&lt;BR /&gt;If possible, it would be great if you could also share the SPL as well. thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 06:59:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamically-edit-node-border-color/m-p/553796#M65771</guid>
      <dc:creator>dm1</dc:creator>
      <dc:date>2021-06-01T06:59:54Z</dc:date>
    </item>
  </channel>
</rss>

