Commit graph

7 commits

Author SHA1 Message Date
Stéphane Cerveau d19387f039 graphview: implement tests infra
- Implement test for graph creation, save and load.
- Change xml API
- Update public/private api
- Add a graphview clear API
2022-01-27 17:35:47 +01:00
Stéphane Cerveau 2ddd49fa0d tests: implement graphview unit test 2022-01-27 13:18:46 +01:00
Stéphane Cerveau 17ecce9748 port: support properties
Allow port to have a property set
and store it in the xml file

Introduce PropertyExt

Rewrote the port layout
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 6c31bc3912 graphview: add documentation and refactor the code
Add documentation to public method.
Publish method which are public
Use SelectionExt trait.
Rename add_node_with_port to create_node_with_port
2022-01-19 11:55:13 +01:00
Stéphane Cerveau 4bae12c011 graphview: introduce PortPresence
The port presence helps to know
if the port can be deleted or not.

XML Format break.
2022-01-18 16:39:39 +01:00
Stéphane Cerveau a0bb503b27 graphview: can now select nodes and links
Nodes and links can be selected and deleted
2022-01-11 20:48:53 +01:00
Stéphane Cerveau 5f91fbaef7 GPS: introduce the graphmanager
Introduce the first version of a graph manager
with:
- Graphview
- Node
- Port
2022-01-11 20:48:53 +01:00