packageImports creates an array:

this array contains a lot of objects, the objects are like:

{source: ..., target:...}, this will be used in path
add some more commments, so I want to clear up the structure

1. draw svg canvas

2. read data from file

3. draw path

4. draw nodes