Class: graphviz_attrs

dc_graph. graphviz_attrs


new graphviz_attrs()

`dc_graph.graphviz_attrs defines a basic set of attributes which layout engines should implement - although these are not required, they make it easier for clients and modes (like expand_collapse) to work with multiple layout engines.

these attributes are from graphviz

Source:
Returns:
Type
Object

Methods


nodesep( [nodesep])

Spacing in between nodes in the same rank.

Parameters:
Name Type Argument Default Description
nodesep String <optional>
40
Source:

rankdir( [rankdir])

Direction to draw ranks.

Parameters:
Name Type Argument Default Description
rankdir String <optional>
'TB'

'TB', 'LR', 'BT', or 'RL'

Source:

ranksep( [ranksep])

Spacing in between ranks.

Parameters:
Name Type Argument Default Description
ranksep String <optional>
40
Source: