Active
Project:
Graphviz
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Jan 2013 at 13:27 UTC
Updated:
6 Jan 2013 at 19:28 UTC
Jump to comment: Most recent file
In commit 33ad2976f6f58e5ce0a14ebfde0fc4b8eca28bff some attributes are added.
Those are displayed on /admin/config/system/graphapi/engines/graphviz
The idea is to almost copy from http://www.graphviz.org/content/attrs by classifying what component (Graph, Node, Edge, Cluster) and/or engine (dot, neato, twip, etc) the attributes are for.
Code is work in progress.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Graphviz - style values.png | 29.58 KB | clemens.tolboom |
Comments
Comment #1
clemens.tolboomThe compound attribute is a boolean: it is rendered as '1' when TRUE and not when FALSE.
So I guess we need a nice converter function var_to_dot. And the empty test
funciton _graphviz_dot_defaults()is not good. That function name is bad too :(Comment #2
clemens.tolboomWe now have type dependent values like for style (http://www.graphviz.org/content/attrs#kstyle) and arrowhead.
@s.Daniel have a shot at these settings in
function _graphviz_attributes($type = NULL) {