Features - GraphFilter/GraphFilter GitHub Wiki
You can interact with the graph on the screen and perform the following operations according to your keymap:
Keymap | Functionallity |
---|---|
Left-Click | Individual nodes and edges can be selected using the left-click |
Insert or + or = | Insert a new node where the mouse is positioned |
Delete or - or Backspace | Delete a selected node(s) or edge(s) |
Double Left-Click | Double clicking on two nodes successively will create an edge between them |
Left-Click | Selected plot elements can be dragged around by holding left-click on a selected artist |
The program disposes of four types of operations:
- Line Graph
- Inverse Line Graph
- Complement
- Clique Graph
Clicking on the button will add a universal vertex to the current graph
In graph theory, a universal vertex, also known as a dominant vertex, is a vertex in a directed or undirected graph that is connected to all other vertices in the graph. Given a graph G = (V, E), where V is the set of vertices and E is the set of edges, a vertex v is considered a universal vertex if, for every vertex u in V, there exists an edge (v, u) or (u, v) in E.
You can use this functionality to create predefined graphs to work with.
Options | ||
---|---|---|
Empty Graph | Graph from graph6 | Cycle Graph |
Path Graph | Complete Graph | Star Graph |
Turan Graph | Grid 2d Graph | Triangular Lattice Graph |
Petersen Graph | Random Regular Graph | Random Cograph |
Complete Bipartite Graph | Threshold Graph |
Clicking on the desired option will bring up a window where you can choose to create a new .gml
file or insert the graph at the end of the current list (if the open file is a .g6
or .json
file), and you can also set the parameters, if necessary, for the chosen graph
If you want to delete a graph, you have two options: delete the current graph and delete the file containing one or more graphs.
To delete the plotted graph, click on the trash can in the toolbar.
If the graph is part of a list of graphs (
.txt
or.g6
file), then only the current graph will be deleted from this list and rearrange the list. If the graph is saved in a.gml
file, it will clear the graph information.
To delete files whether or not they contain a list of graphs, go to the file tree and right-click on the file you want to delete. Then click on the Delete option in the menu.
Remember that the tree only contains the file types supported by the program, so you can only delete files of the type
.txt
,.gml
,.g6
andempty folders
.
The
.json
type is deprecated, so you can't delete the plotted graph. To do this, we recommend exporting the file to a supported file. However, if you want to delete the entire file, the tree will be able to do so.
You can save the changes made to the plotted graph by clicking on the button with the image of a diskette
found on the toolbar.
If the file in which the graph is saved is a .txt
or .g6
file, the software will save the nodes with their adjacencies.
These file types are not capable of storing more information because they are compact ways of saving graphs and can contain thousands of graphs.
If the file in which the graph is saved is a .gml
file, the software will save the nodes with their adjacencies, as well as their position.
Because the
.gml
type is capable of storing more detailed information about the graph, it can only store a single graph for each file.
The
.json
type cannot save the graph because it is deprecated. We recommend that you export the file to a supported file format to perform operations such as saving to the graph.