Load Adjacency Matrix #2

Tasks

# The use of prefix and suffix with the :exec command works in general. # You need to use '', "", or `` as delimiters on the prefix and suffix if the strings # have spaces in them. # This file is not meant to be :exec'd but rather to show what :exec command you # would use at the repl to produce the graph. See also load-adjacency-matrix example. :exec-batch prefix='Assume that the following is an adjacency matrix for an undirected graph on nodes A-E in order' ./examples/load-adjacency-matrix-2/matrix.txt

JSON Representation

{
"directed": false,
"hasParents": false,
"nodes": {
  "A": {},
  "B": {},
  "C": {},
  "D": {},
  "E": {}
},
"edges": {
  "AB": {
    "source": "A",
    "target": "B"
  },
  "AC": {
    "source": "A",
    "target": "C"
  },
  "AD": {
    "source": "A",
    "target": "D"
  },
  "BE": {
    "source": "B",
    "target": "E"
  },
  "CE": {
    "source": "C",
    "target": "E"
  },
  "CD": {
    "source": "C",
    "target": "D"
  }
},
"constraints": [],
"_positions": {
  "A": [
    -4.924651485147151,
    -0.004392701902787825
  ],
  "B": [
    -0.07802536943360776,
    -5.0530969979725135
  ],
  "C": [
    -0.3083674601089758,
    4.927949554674493
  ],
  "D": [
    0.24820824748769002,
    -0.1860687544550627
  ],
  "E": [
    5.062836066627102,
    0.31560889924551816
  ]
}
}