Graphviz Customizations

Include these rendering customizations among the choices in the Solo plugin's aspect choices.

emphasis

We use the SVG color names. graphviz

EIP Supporting Roles Governance: fillcolor=lightblue penwidth=6 Environment: fillcolor=chartreuse EIP Supporting Roles Governance: fillcolor=pink style=rounded penwidth=5 color=blue1 Environment: fillcolor=chartreuse Ecology: style=rounded fillcolor=white fontcolor=green color=green1 penwidth=3 Motivation: shape=oval fillcolor=pink Institution: shape=box3d color=purple penwidth=3 fillcolor=white Government: shape=box3d penwidth=3 color=blue1 fillcolor=white Public: shape=box3d color=lightblue3 fillcolor=white penwidth=3 Nonprofit: shape=box3d color=orange fillcolor=white penwidth=3 Club: shape=box3d color=purple penwidth=3 fillcolor=white Private: shape=box3d color=yellow3 penwidth=3 fillcolor=white Traded: shape=box3d penwidth=3 color=red penwidth=3 fillcolor=white Commons: shape=box3d penwidth=3 color=green3 fillcolor=white Sustainability: style=rounded color=pink penwidth=4 fillcolor=white fontcolor=green Essential Fundtions: style=rounded penwidth=5 Energy: style=rounded penwidth=5 Social: style=rounded penwidth=5 Infrastructure: penwidth=5 Safety: style=rounded penwidth=5 Health: style=rounded penwidth=5 Person: shape=egg, color=bisque3 penwidth=6 fillcolor=white Role: shape=doubleoctagon color=purple fillcolor=white penwidht=6 Active Goal: shape=cds color=red penwidth=6 Place: shape=invhouse color=green2 fillcolor=white penwidth=3 Property: shape=house color=brown fillcolor=white penwidth=3 Sector: shape=square, color=gray,

layout

We choose an algorithm and parameters. graphviz

Left to Right Layout dot; rankdir=LR Bottom to Top Layout dot; rankdir=BT

Spring Layout neato; Circular Layout circo;

.

http://ward.dojo.fed.wiki/assets/pages/graphviz-customizations/customize.html HEIGHT 70

The script on this page will source various Graphviz customizations to be applied by the Solo plugin. github

A PageFold identifies the nature of the customization. If omitted, "emphasis" is assumed.

Customizations are written as Code items, possibly with multiple customization separated by blank lines.

The first line is the name applied to both the aspect and the single Graphviz node within that aspect.

The remaining lines specify both the type of node or relation to be modified and the specific modification to be applied in the generated dot format rendering. Separate type and modification with a colon.

pages/graphviz-customizations

.

We intend to generalize this process to manipulate the conversion from graph to dot in a variety of ways, some already explored.

The super collaborator can be directed to render graphs with specific parameters by adding single property ladened nodes to the combination of graphs already chosen for rendering.

We would like to render a Graphviz node as a color key. Maybe use html label?

We distinguish pragmas by type "Github" and the presence of particular property names like "emphasis" or "layout". Perhaps we can use these exact names as PageFold labels for the simplified syntax recognized here. github

We've hard-coded several relation types as "upstream" inputs pointing to source but the dot layout should flow the other way. github