Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
This repository was archived by the owner on Jan 19, 2018. It is now read-only.

nulecule component graph rendering is non-Hamiltonian #731

@khrisrichardson

Description

@khrisrichardson

From an examination of the code in nulecule/base.py, it would appear that what is referred to as a graph is actually rendered as nested lists of lists.

The predicament this raises is the potential for the same "node" to appear multiple times in the data structure if it is a dependency of multiple other "nodes", which invariably results in an error and terminates execution when the "node" is deployed to a provider a second time.

To avoid such a predicament an acyclic hamiltonian graph is needed in place of the nested list of lists. networkx is one such library that could help with topological sorting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions