structurizr-python icon indicating copy to clipboard operation
structurizr-python copied to clipboard

Add set_automatic_layout() method to View

Open yt-ms opened this issue 4 years ago • 0 comments

Checklist

Is your feature related to a problem? Please describe it.

I want to be able to easily switch on automatic layout for a View through an enable_automatic_layout() method.

Describe the solution you would like.

This should mirror the equivalent in the Java implementation, which sets the defaults to be:

  • rank_direction = top_bottom
  • rank_separation = 300
  • node_separation = 600
  • edge_separation = 200
  • vertices = False

yt-ms avatar Dec 26 '20 15:12 yt-ms