Stéphane Cerveau
8c9cb35928
graphview: node by unique name
...
keep a unique name value in Node structure
and provide an API to modify it.
2023-02-14 10:18:06 +01:00
Stéphane Cerveau
9e6ee57fee
graphmanager: update and fix for gtk4-rs 0.6.1
2023-02-13 21:45:54 +01:00
Stéphane Cerveau
e2a62ae4d4
graphmanager: Fix various clippy issues
...
fix uninlined_format_args clippy warning
2023-02-13 16:39:56 +01:00
Stéphane Cerveau
cc42cdeaeb
graphmanager: add a light mode
...
Add a light mode to display node with a
dashed style
2023-02-13 16:39:47 +01:00
Stéphane Cerveau
726a6f4d41
cargo: update gst/gtk/gst-plugin-gtk4
2022-11-29 08:42:12 +00:00
Stéphane Cerveau
6b657891c6
graphmanager: fix some lint issues with rust 1.63
...
Fix format and missing derive
2022-09-06 12:48:40 +02:00
Stéphane Cerveau
0164d71bf2
graphmanager: cleanup the license
...
Keep only the SPDX and mention the project
2022-02-09 11:28:27 +01:00
Stéphane Cerveau
72dcde0ad3
graphmanager: update description on property remove
...
The node must update its description when
a property value has been removed.
2022-02-08 14:53:12 +01:00
Stéphane Cerveau
a21350b4a0
graphmanager: can remove property
...
Add public remove_property to PropertyExt
2022-02-07 12:19:10 +01:00
Stéphane Cerveau
375d01c0cd
port: Rework the way to add a port/node
...
Allow to tell than a port has been added with its property
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
b360f4a13a
node: update the layout and use GtkGrid
...
The node uses a GrkGrid to display
ports, name and description.
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
72d4ddadb7
graphmanager: save the position as an attribute
...
The position should not be an hidden property
but a regular attribute.
2022-01-17 10:39:11 +01:00
Stéphane Cerveau
34b134107e
graphmanager: use logger instead of println
2022-01-14 09:50:45 +01:00
Stéphane Cerveau
e9b905230a
graphview: save position as a hidden property
...
- Save/load node position in XML file
- Introduce a graph ID
2022-01-12 18:49:10 +01:00
Stéphane Cerveau
2a7137e6dc
graphview: code cleanup
...
Remove dead code
Rewrite error message
Use simplified anyhow result for xml
methods
2022-01-12 11:15:52 +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
7d08abaca8
GPSApp: Can now request pads on element
...
Add menu entries to add new pad/port to an element/node.
2022-01-11 20:48:53 +01:00
Stéphane Cerveau
6756b34919
plugindialogs: rename module and support properties in element
...
rename pluginlist module to plugindialogs
Add display_plugin_properties to modify properties
from an element.
Add a way to modify the location if element is URI_TYPE_SRC
Able to remove a node from the graph
2022-01-11 20:48:53 +01:00
Stéphane Cerveau
6397ebff74
GPS: add GST render to parse launch format
...
The player is able to take the graph description and
build a string which will be passed to the
GStreamer parse launch engine.
2022-01-11 20:48:53 +01:00
Stéphane Cerveau
52286ada4a
GPS: Add xml save/load in graphview
...
Can now save and load in XML
graphs/nodes/ports/links
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