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.

CommentFileSizeAuthor
#2 Graphviz - style values.png29.58 KBclemens.tolboom

Comments

clemens.tolboom’s picture

The 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 :(

clemens.tolboom’s picture

Assigned: Unassigned » s.daniel
StatusFileSize
new29.58 KB

We now have type dependent values like for style (http://www.graphviz.org/content/attrs#kstyle) and arrowhead.

Graphviz - style values.png

@s.Daniel have a shot at these settings in function _graphviz_attributes($type = NULL) {