<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Image_GraphViz</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/19573" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19232" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18667" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17214" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16034" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/19573">
      <title>Image_GraphViz: Bug 19573 [Open] Nested Clusters with numeric ids won't work as expected</title>
      <link>http://pear.php.net/bugs/19573</link>
      <content:encoded><![CDATA[<pre>Image_GraphViz Bug
Reported by github138
2012-08-21T14:15:32+00:00
PHP: 5.4.5 OS: FreeBSD Package Version: 1.3.0

Description:
------------
nested Clusters with numeric ids don't work (possible array_merge reindex problem)
alphanumeric ids work as expected

Test script:
---------------
      $gv = new Image_GraphViz();

        $gv-&gt;addCluster(&quot;1&quot;, &quot;&quot;);
        $gv-&gt;addCluster(&quot;2&quot;, &quot;&quot;, array(), &quot;1&quot;);

        $gv-&gt;addNode(&quot;1&quot;, array(), &quot;1&quot;);
        $gv-&gt;addNode(&quot;2&quot;, array(), &quot;2&quot;);

        $gv-&gt;addEdge(array(&quot;1&quot; =&gt; &quot;2&quot;));

        echo &quot;---DOT---\n&quot;;

        echo $gv-&gt;parse();


Expected result:
----------------
strict digraph G {
    subgraph cluster_1 {
        1;
        subgraph cluster_2 {
            2;
        }
    }
    1 -&gt; 2;
}


Actual result:
--------------
strict digraph G {
    subgraph cluster_1 {
        1;
    }
    1 -&gt; 2;
}</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_GraphViz Bug
Reported by github138
2012-08-21T14:15:32+00:00
PHP: 5.4.5 OS: FreeBSD Package Version: 1.3.0

Description:
------------
nested Clusters with numeric ids don't work (possible array_merge reindex problem)
alphanumeric ids work as expected

Test script:
---------------
      $gv = new Image_GraphViz();

        $gv-&gt;addCluster(&quot;1&quot;, &quot;&quot;);
        $gv-&gt;addCluster(&quot;2&quot;, &quot;&quot;, array(), &quot;1&quot;);

        $gv-&gt;addNode(&quot;1&quot;, array(), &quot;1&quot;);
        $gv-&gt;addNode(&quot;2&quot;, array(), &quot;2&quot;);

        $gv-&gt;addEdge(array(&quot;1&quot; =&gt; &quot;2&quot;));

        echo &quot;---DOT---\n&quot;;

        echo $gv-&gt;parse();


Expected result:
----------------
strict digraph G {
    subgraph cluster_1 {
        1;
        subgraph cluster_2 {
            2;
        }
    }
    1 -&gt; 2;
}


Actual result:
--------------
strict digraph G {
    subgraph cluster_1 {
        1;
    }
    1 -&gt; 2;
}</pre>]]></description>
      <dc:date>2012-08-21T14:15:32+00:00</dc:date>
      <dc:creator>m &amp;#x64;&amp;#111;&amp;#x74; ehinger &amp;#x61;&amp;#116; ltur &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Image_GraphViz Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19232">
      <title>Image_GraphViz: Bug 19232 [Open] xlink:title carriage return char</title>
      <link>http://pear.php.net/bugs/19232</link>
      <content:encoded><![CDATA[<pre>Image_GraphViz Bug
Reported by zknight
2012-01-21T00:46:32+00:00
PHP: 5.3.3 OS: linux Package Version: 1.3.0

Description:
------------
Hi I have node with  label with a '\n' to wrap text on 2 rows.
i.e.:&quot;&quot;VEG10010E22-00\nA1A1 Equipped&quot;
and a URL attribute for the node.
when I select the node, a label is coming up with '\n' characters.

in the generated html i have:
xlink:title=&quot;xlink:title=&quot;VEG10010E22-00\nA1A1 Equipped&quot;

so the generated xlink:title does not cut off the \n


Test script:
---------------
$graph-&gt;addNode($idmdoc, array('shape' =&gt; 'rectangle',
		  															'label'	 =&gt; $idmdoc.'\n'.$title,
		  															'URL'    =&gt; 'doc_file_upload.php,
		  															'target' =&gt; '_blank',
		  															'width'  =&gt; 3,
		  															'labelURL' =&gt; 'asdfasdfasdfa'));</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_GraphViz Bug
Reported by zknight
2012-01-21T00:46:32+00:00
PHP: 5.3.3 OS: linux Package Version: 1.3.0

Description:
------------
Hi I have node with  label with a '\n' to wrap text on 2 rows.
i.e.:&quot;&quot;VEG10010E22-00\nA1A1 Equipped&quot;
and a URL attribute for the node.
when I select the node, a label is coming up with '\n' characters.

in the generated html i have:
xlink:title=&quot;xlink:title=&quot;VEG10010E22-00\nA1A1 Equipped&quot;

so the generated xlink:title does not cut off the \n


Test script:
---------------
$graph-&gt;addNode($idmdoc, array('shape' =&gt; 'rectangle',
		  															'label'	 =&gt; $idmdoc.'\n'.$title,
		  															'URL'    =&gt; 'doc_file_upload.php,
		  															'target' =&gt; '_blank',
		  															'width'  =&gt; 3,
		  															'labelURL' =&gt; 'asdfasdfasdfa'));</pre>]]></description>
      <dc:date>2012-01-21T00:46:32+00:00</dc:date>
      <dc:creator>claudio &amp;#x64;&amp;#111;&amp;#x74; polcino &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Image_GraphViz Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18667">
      <title>Image_GraphViz: Documentation Problem 18667 [Open] addCluster &amp; addSubgraph: wrong title type</title>
      <link>http://pear.php.net/bugs/18667</link>
      <content:encoded><![CDATA[<pre>Image_GraphViz Documentation Problem
Reported by petitnuage
2011-07-15T01:15:13+00:00
PHP: 5.3.6 OS: All Package Version: 1.3.0

Description:
------------
Both subgraph's and cluster's documentation claims the title 
parameter is an array. In fact, it's a string.

Expected result:
----------------
string

Actual result:
--------------
array</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_GraphViz Documentation Problem
Reported by petitnuage
2011-07-15T01:15:13+00:00
PHP: 5.3.6 OS: All Package Version: 1.3.0

Description:
------------
Both subgraph's and cluster's documentation claims the title 
parameter is an array. In fact, it's a string.

Expected result:
----------------
string

Actual result:
--------------
array</pre>]]></description>
      <dc:date>2011-07-15T01:15:13+00:00</dc:date>
      <dc:creator>martin &amp;#x61;&amp;#116; petitnuage &amp;#x64;&amp;#111;&amp;#x74; fr</dc:creator>
      <dc:subject>Image_GraphViz Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17214">
      <title>Image_GraphViz: Bug 17214 [Open] Can not bind port &quot;A&quot; node &quot;1&quot; to another port &quot;B&quot; of that node &quot;1&quot;</title>
      <link>http://pear.php.net/bugs/17214</link>
      <content:encoded><![CDATA[<pre>Image_GraphViz Bug
Reported by yoann59
2010-03-11T21:43:57+00:00
PHP: 5.2.10 OS: Ubuntu Package Version: 1.3.0RC3

Description:
------------
--------
English
--------

Can not bind port &quot;A&quot; node &quot;1&quot; to another port &quot;B&quot; of that node &quot;1&quot;

It is impossible to bind a port to another port of one node. Indeed, to do this link, we pass an array as a key node, and value as the port. However, it is not possible to put twice the same key in an array (the first key is overwritten by the second)

The port of the second parameter is linked to itself.

Function : addEdge

--------------------
French / FranÃ§ais
--------------------

Impossible de lier un port &quot;A&quot; du noeud &quot;1&quot; vers un autre port &quot;B&quot; de ce mÃªme noeud &quot;1&quot;

Il est impossible de pouvoir lier un port vers un autre port d'un seul nÅud. En effet, pour effectuer cette liaison, nous faisons passer un tableau avec comme clÃ© le noeud, et comme valeur le port. Or, il n'est pas possible de mettre deux fois la mÃªme clÃ© dans un tableau (la premiÃ¨re clÃ© est Ã©crasÃ© par la deuxiÃ¨me)

Le port du deuxiÃ¨me paramÃ¨tre est donc lier Ã  lui mÃªme.

Fonction : addEdge

Test script:
---------------
// $node_output = 1, $node_input = 1
// $port_input = 2, $port_output = 3
// -&gt; $node_output == $node_input
 $ports = array($node_output =&gt; $port_output,
                     $node_input =&gt; $port_input);
 $_graph-&gt;addEdge(array($node_output =&gt; $node_input),
                       array('URL' =&gt; '#', 'color' =&gt; 'blue'),
                       $ports);
// The port number 3 is linked to itself.

Expected result:
----------------
// MyScript

 $ports = array(array($node_output =&gt; $plugin_output),
                     array($node_input =&gt; $plugin_input));
 $_graph-&gt;addEdge(array($node_output =&gt; $node_input),
                      array('URL' =&gt; '#', 'color' =&gt; 'blue'),
                       $ports);

// Image_Graphiz

function addEdge($edge, $attributes = array(), $ports = array())
{
   
// ...

    if (is_array($ports))
    {

      if(!is_array($ports[0]))
      {
        $ports[0] = array($ports[0]);
      }
      if(!is_array($ports[1])) {
        $ports[0] = array($ports[1]);
      }

      if (array_key_exists($from, $ports[0]))
      {
        $info['portFrom'] = $ports[0][$from];
      }

      if (array_key_exists($to, $ports[1]))
      {
        $info['portTo'] = $ports[1][$to];
      }
    }

// ...

}
    

Actual result:
--------------
The port No. 3 is connected to port No. 2</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_GraphViz Bug
Reported by yoann59
2010-03-11T21:43:57+00:00
PHP: 5.2.10 OS: Ubuntu Package Version: 1.3.0RC3

Description:
------------
--------
English
--------

Can not bind port &quot;A&quot; node &quot;1&quot; to another port &quot;B&quot; of that node &quot;1&quot;

It is impossible to bind a port to another port of one node. Indeed, to do this link, we pass an array as a key node, and value as the port. However, it is not possible to put twice the same key in an array (the first key is overwritten by the second)

The port of the second parameter is linked to itself.

Function : addEdge

--------------------
French / FranÃ§ais
--------------------

Impossible de lier un port &quot;A&quot; du noeud &quot;1&quot; vers un autre port &quot;B&quot; de ce mÃªme noeud &quot;1&quot;

Il est impossible de pouvoir lier un port vers un autre port d'un seul nÅud. En effet, pour effectuer cette liaison, nous faisons passer un tableau avec comme clÃ© le noeud, et comme valeur le port. Or, il n'est pas possible de mettre deux fois la mÃªme clÃ© dans un tableau (la premiÃ¨re clÃ© est Ã©crasÃ© par la deuxiÃ¨me)

Le port du deuxiÃ¨me paramÃ¨tre est donc lier Ã  lui mÃªme.

Fonction : addEdge

Test script:
---------------
// $node_output = 1, $node_input = 1
// $port_input = 2, $port_output = 3
// -&gt; $node_output == $node_input
 $ports = array($node_output =&gt; $port_output,
                     $node_input =&gt; $port_input);
 $_graph-&gt;addEdge(array($node_output =&gt; $node_input),
                       array('URL' =&gt; '#', 'color' =&gt; 'blue'),
                       $ports);
// The port number 3 is linked to itself.

Expected result:
----------------
// MyScript

 $ports = array(array($node_output =&gt; $plugin_output),
                     array($node_input =&gt; $plugin_input));
 $_graph-&gt;addEdge(array($node_output =&gt; $node_input),
                      array('URL' =&gt; '#', 'color' =&gt; 'blue'),
                       $ports);

// Image_Graphiz

function addEdge($edge, $attributes = array(), $ports = array())
{
   
// ...

    if (is_array($ports))
    {

      if(!is_array($ports[0]))
      {
        $ports[0] = array($ports[0]);
      }
      if(!is_array($ports[1])) {
        $ports[0] = array($ports[1]);
      }

      if (array_key_exists($from, $ports[0]))
      {
        $info['portFrom'] = $ports[0][$from];
      }

      if (array_key_exists($to, $ports[1]))
      {
        $info['portTo'] = $ports[1][$to];
      }
    }

// ...

}
    

Actual result:
--------------
The port No. 3 is connected to port No. 2</pre>]]></description>
      <dc:date>2010-03-11T21:43:57+00:00</dc:date>
      <dc:creator>yoann59 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Image_GraphViz Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16034">
      <title>Image_GraphViz: Feature/Change Request 16034 [Open] Please Change License</title>
      <link>http://pear.php.net/bugs/16034</link>
      <content:encoded><![CDATA[<pre>Image_GraphViz Feature/Change Request
Reported by hexmode
2009-03-14T02:53:57+00:00
PHP: Irrelevant OS:  Package Version: 1.3.0RC3

Description:
------------
I would like to package this for Debian, but debian-legal doesn't like the PHP license being applied to software that is not, itself, PHP.  They say the PHP license specifically covers PHP and only PHP..

Would you consider changing the license to BSD or LGPL?</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_GraphViz Feature/Change Request
Reported by hexmode
2009-03-14T02:53:57+00:00
PHP: Irrelevant OS:  Package Version: 1.3.0RC3

Description:
------------
I would like to package this for Debian, but debian-legal doesn't like the PHP license being applied to software that is not, itself, PHP.  They say the PHP license specifically covers PHP and only PHP..

Would you consider changing the license to BSD or LGPL?</pre>]]></description>
      <dc:date>2009-03-14T02:53:57+00:00</dc:date>
      <dc:creator>mhershberger &amp;#x61;&amp;#116; intrahealth &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Image_GraphViz Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
