listToMatrix function

Matrix listToMatrix(
  1. List<NodeInput> list,
  2. bool centred
)

Implementation

Matrix listToMatrix(List<NodeInput> list, bool centred) {
  Graph g = Graph(list: list, centred: centred);
  return g.traverse();
}