FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=20035&edit=1

  ID: 20035
  Updated by: mcclimont@internode.on.net
  Reported By: mcclimont at internode dot on dot net
  Summary: Patch to enable default values to be set by node,
                     edge, or graph.
-Status: Open
+Status: Duplicate
  Type: Feature/Change Request
  Package: Image_GraphViz
  Operating System: Windows 7
  Package Version: 1.3.0
  PHP Version: 5.5.1
  Roadmap Versions:
  New Comment:

-Status: Open
+Status: Duplicate



Previous Comments:
------------------------------------------------------------------------

[2013-08-14 03:05:46] mcclimont

Description:
------------
The DOT Language (http://www.graphviz.org/content/dot-language) defines
that default values can be defined by using a node, edge, or graph
statement.

The patch attached provides support for adding an attribute (node, edge,
graph) which is array of attributes that will be used as the defaults
for any object of the appropriate type.

Expected result:
----------------
strict digraph GraphViz {
     graph [
         fontname="Helvetica-Oblique";
         fontsize=24;
         label=GraphVis;
     ];
     node [
         color=white;
         fontname=Helvetica;
     ];
     edge [
         color=red;
     ];
}

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 14, '13 at 1:06a
activeAug 14, '13 at 1:06a
posts1
users1
websitepear.php.net

1 user in discussion

Mcclimont: 1 post

People

Translate

site design / logo © 2022 Grokbase