Directed Graph with Four Nodes

StartEnd

Tasks

make graph directed add nodes A-D add edges from node A to all other nodes add an edge from node C to node D give node A the label "Start" give node D the label "End" make nodes A and D rectangles with the width being twice the height :config draft false

JSON Representation

{
"directed": true,
"hasParents": false,
"nodes": {
  "A": {
    "label": "Start",
    "nodeShape": "rectangle",
    "nodeWidthToHeight": 2
  },
  "B": {},
  "C": {},
  "D": {
    "label": "End",
    "nodeShape": "rectangle",
    "nodeWidthToHeight": 2
  }
},
"edges": {
  "AD": {
    "source": "A",
    "target": "D"
  },
  "AC": {
    "source": "A",
    "target": "C"
  },
  "AB": {
    "source": "A",
    "target": "B"
  },
  "CD": {
    "source": "C",
    "target": "D"
  }
},
"constraints": [],
"_positions": {
  "A": [
    -3.872986534887053,
    -0.000010864548653671458
  ],
  "B": [
    3.4843065067025646e-7,
    -3.8729801531993857
  ],
  "C": [
    -3.469074492592584e-7,
    3.8729801576932243
  ],
  "D": [
    3.872986539048805,
    0.000010865291128237588
  ]
}
}