{"id":25,"date":"2006-01-17T01:00:30","date_gmt":"2006-01-17T06:00:30","guid":{"rendered":"http:\/\/raffy.ch\/blog\/?p=25"},"modified":"2006-01-17T01:01:05","modified_gmt":"2006-01-17T06:01:05","slug":"graphviz-graph-nodes","status":"publish","type":"post","link":"https:\/\/raffy.ch\/blog\/2006\/01\/17\/graphviz-graph-nodes\/","title":{"rendered":"GraphViz Graph Nodes"},"content":{"rendered":"<p>While playing with the AT&#038;T <a href=\"http:\/\/www.graphviz.org\/\">graphviz library<\/a> again, I was trying to get nodes to show up as pictures, which is fairly simple:<\/p>\n<p><code>node [peripheries=0, fontsize=10, shapefile=\"computer.gif\"]<\/code><\/p>\n<p>However, what I really want is a transparent gif (computer.gif) and then using background color to color that node. That way I could programmatically change the color of the nodes and still use icons to make the nodes a bit nicer. This is what I tried:<\/p>\n<p><code>node [peripheries=1, fontsize=10, shapefile=\"computer.gif\", fillcolor=blue]<\/code><\/p>\n<p>Unfortunately it did not work. Anyone?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While playing with the AT&#038;T graphviz library again, I was trying to get nodes to show up as pictures, which is fairly simple: node [peripheries=0, fontsize=10, shapefile=&#8221;computer.gif&#8221;] However, what I really want is a transparent gif (computer.gif) and then using background color to color that node. That way I could programmatically change the color of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-visualization"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/comments?post=25"}],"version-history":[{"count":0,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/media?parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/categories?post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raffy.ch\/blog\/wp-json\/wp\/v2\/tags?post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}