Skip to content

non square matrix #2

@cocconat

Description

@cocconat

for non square matrix the dynamic function has some problem due to the absence of attributes definition in the nx.Graph().edges(), this bug is solvable:
the matrix_graph function should assign attributes for a square matrix with dimension of the largest axe, then assign 1 to the diagonal value of the matrix (the node can move to itself only) ad 0 to all the rest.

This problem is absent in case of square matrix

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions