Skip to content

Alpha - Chameleon

Compare
Choose a tag to compare
@jsoconno jsoconno released this 21 Jan 08:19
· 107 commits to main since this release

New Features:

  • Clusters and Groups that do not have nodes can be connected by overriding the ltail or lhead attributes with the desired Cluster or Group object name by reference.

For example:

with Graph():
    with Cluster() as cluster_a:
        with Cluster() as cluster_b:
            a = Node("A")
            b = Node("B")
            c = Node("C")

    with Cluster() as cluster_c:
        with Cluster() as cluster_d:
            d = Node("D")
            e = Node("E")

    Flow([c, e], ltail=cluster_a.name)

Bugs Squashed:

  • Removed support for hues in themes
  • Removed reference to a useless base _Theme class
  • Removed the validate_node function for a simpler and more universal inline solution
  • Updated the word_wrap function to use the max_length to determine the wrap point

Maintenance

  • Cleaned up the core code to improve overall quality score
  • Added additional tests for Themes, Clusters, and Groups to bring coverage from 68% to 98%
  • Updated the README.md with some new badges
  • Updated the generate_providers.py script to use spaces instead of tabs for indentation