Robert Machmer
|
78050c9af7
|
Add anchor nodes
Nodes set as anchors won't be affected by the force directed layout.
They can be used to fixate the graph to a certain area.
|
2016-01-02 15:19:35 +01:00 |
|
Robert Machmer
|
47b7624261
|
Extend graph constructor to handle node tables
The nodes can either be a sequence of strings or a sequence of tables
containing id, name, x and y values.
|
2015-12-25 00:50:36 +01:00 |
|
Robert Machmer
|
2a258a96d5
|
Add nodes without name parameter
|
2015-12-24 22:59:15 +01:00 |
|
Robert Machmer
|
59a055da99
|
Add optional name parameter for Nodes
This parameter can be accessed via the getName getter. If no value is
passed to the constructor the name variable will default to the id.
|
2015-12-24 16:56:40 +01:00 |
|
Robert Machmer
|
35868a4360
|
Add getter which returns a node based on a given id
|
2015-12-24 03:26:08 +01:00 |
|
Robert Machmer
|
729afd59af
|
Add function for checking if a node with a given id exists
|
2015-12-24 03:25:04 +01:00 |
|
Robert Machmer
|
ebb82093fb
|
Add function for getting the x and y coordinates of the graph's center
|
2015-12-24 00:41:18 +01:00 |
|
Robert Machmer
|
6532d97cca
|
Add function for getting the graph's boundaries
|
2015-12-24 00:41:12 +01:00 |
|
Robert Machmer
|
ac060cda1e
|
Turn library into a package
|
2015-12-24 00:06:44 +01:00 |
|