Add function create options for edge class
Update function create options, add argument
Update
Create test for drawLink function
Update edge class
Add tests