Index

A B C D E F G H I M N P R S T U Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

activeAll() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Activates all nodes and edges in the graph, making the entire graph interactive or visible.
activeAllEdges() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Activates all edges in the graph, making them interactive or visible as required.
activeAllNodes() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Activates all nodes in the graph, making them interactive or visible as required.
adjustPosition(double) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Adjusts the position of the graph view smoothly over a specified duration.
AdjustPositionCallback - Interface in com.vittoriopiotti.pathgraph.callbacks
A callback interface for adjusting positions without parameters.

B

BackgroundCallback - Interface in com.vittoriopiotti.pathgraph.callbacks
A callback interface for handling mouse events.
BIDIRECTIONAL - Static variable in class com.vittoriopiotti.pathgraph.app.Constants
Constant representing bidirectional edge.

C

clearGraph() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Clears the entire graph asynchronously.
com.vittoriopiotti.pathgraph - module com.vittoriopiotti.pathgraph
 
com.vittoriopiotti.pathgraph.app - package com.vittoriopiotti.pathgraph.app
 
com.vittoriopiotti.pathgraph.callbacks - package com.vittoriopiotti.pathgraph.callbacks
 
com.vittoriopiotti.pathgraph.dto - package com.vittoriopiotti.pathgraph.dto
 
ConnectionDTO - Class in com.vittoriopiotti.pathgraph.dto
Represents a connection in a graph with a label and a cost.
ConnectionDTO(char, int) - Constructor for class com.vittoriopiotti.pathgraph.dto.ConnectionDTO
Constructs a new ConnectionDTO with the specified label and cost.
Constants - Class in com.vittoriopiotti.pathgraph.app
This class defines various constants used throughout the application to represent different states and directions of edges.
Constants() - Constructor for class com.vittoriopiotti.pathgraph.app.Constants
 
ContextMenuCallback - Interface in com.vittoriopiotti.pathgraph.callbacks
A callback interface for handling context menu events.

D

deleteEdge(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Deletes the edge between two vertices from the graph.
deleteEdge(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Deletes the edge between two vertices from the graph.
deleteEdge(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Deletes the edge between the specified nodes in the graph.
deleteNode(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Deletes the node with the specified label from the graph.
deleteNode(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Deletes the specified node from the graph based on the given node DTO.
DIRECTION_FIRST - Static variable in class com.vittoriopiotti.pathgraph.app.Constants
Constant representing edge in natural direction.
DIRECTION_SECOND - Static variable in class com.vittoriopiotti.pathgraph.app.Constants
Constant representing edge in opposite direction.
disabledConnectionsWithNode(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Disables all connections (edges) associated with the given node (vertex) in the graph.
disabledConnectionsWithNode(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the connections with the specified node, based on the given node DTO, are disabled.
doDrag(double, double) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Adjusts the position of the graph view based on the specified x and y offsets.
downloadJSON(File) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Downloads the graph data as a JSON file, saving it to the specified file.
downloadJSON(Window) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Downloads the graph data as a JSON file, allowing the user to select the destination using a window prompt.
doZoom(double) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Zooms the graph view to the specified zoom scale.

E

EdgeCallback - Interface in com.vittoriopiotti.pathgraph.callbacks
A callback interface for handling edge events with mouse and characters.
EdgeDTO - Class in com.vittoriopiotti.pathgraph.dto
The EdgeDTO class represents a data transfer object for an edge in a graph.
EdgeDTO(char, char, int, boolean) - Constructor for class com.vittoriopiotti.pathgraph.dto.EdgeDTO
Constructs a new EdgeDTO with the specified start point, end point, cost, and direction indicator.
EdgeDTO(char, char, int, int) - Constructor for class com.vittoriopiotti.pathgraph.dto.EdgeDTO
Constructs a new EdgeDTO with the specified start point, end point, cost, and direction.
enableListenersGraph(boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Enables or disables the listeners for graph interaction.
enableListenersPane(boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Enables or disables the mouse event listeners for the graph container pane.
ERROR - Static variable in class com.vittoriopiotti.pathgraph.app.Constants
Constant representing an error during process.

F

findPath(char, char) - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Finds a path from a starting node to an ending node using Dijkstra's algorithm.

G

GenericCallback - Interface in com.vittoriopiotti.pathgraph.callbacks
A functional interface for handling generic callbacks with variable parameters.
getConnectableNode(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Finds a connectable node from the specified starting node.
getConnectableNode(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a connectable node from the graph based on the specified starting NodeDTO.
getConnectableNodes() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of nodes that can be connected to any node in the graph.
getConnectableNodes(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of nodes that can be connected to the specified node defined by its label.
getConnectableNodes(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of nodes that can be connected to the specified node based on the given node DTO.
getConnectedEdges(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of edges that are connected to the specified node defined by its label.
getConnectedEdges(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of edges connected to the specified node based on the given node DTO.
getConnectedNodes() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of nodes that are connected to any node in the graph.
getConnectedNodes(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of nodes that are connected to the specified node defined by its label.
getConnectedNodes(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a list of nodes connected to the specified node based on the given node DTO.
getConnections() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the connections between nodes in the graph.
getConnections() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Returns a map of connections for each node in the graph.
getConnectionsJson() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Generates a JSON representation of the node connections.
getConnectionsJson() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Generates a JSON representation of the node connections.
getCost() - Method in class com.vittoriopiotti.pathgraph.dto.ConnectionDTO
Returns the cost of the connection.
getCost() - Method in class com.vittoriopiotti.pathgraph.dto.EdgeDTO
Returns the cost of the edge.
getCost(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Get edge cost.
getCost(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the cost associated with the specified edge.
getCost(NodeDTO, NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the cost associated with the edge between the given nodes.
getDirection(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Get edge direction between two nodes.
getDirection(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the direction of the edge specified by the given EdgeDTO.
getDirection(NodeDTO, NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the direction of the edge between the specified starting and ending nodes.
getDirectionRotated(int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Gets the rotated direction of the edge between two nodes.
getEdge(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Returns the edge between the specified start and end nodes.
getEdges() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the list of edges in the graph.
getEdges() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Returns the list of edges in the graph.
getEdgesJson() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the current state of the edges as a JSON string.
getEdgesJson() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Builds a JSON string representing all edges in the graph.
getExistRandomNodeLabel() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a random character label from existing node labels.
getFrom() - Method in class com.vittoriopiotti.pathgraph.dto.EdgeDTO
Returns the starting point of the edge.
getGraph() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the current graph data as a GraphDTO object.
getGraphJson() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the graph's current state as a JSON string, including nodes and edges.
getGraphJson() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Build json file including nodes and edges.
getIsArrowed() - Method in class com.vittoriopiotti.pathgraph.dto.EdgeDTO
Returns whether the edge is directed (arrowed).
getLabel() - Method in class com.vittoriopiotti.pathgraph.dto.ConnectionDTO
Returns the label of the connection.
getLabel() - Method in class com.vittoriopiotti.pathgraph.dto.NodeDTO
Returns the label of the node.
getNewRandomNodeLabel() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves a label for creating a new node in the graph.
getNodes() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the list of nodes in the graph.
getNodes() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Returns the list of nodes in the graph.
getNodesJson() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the current state of the nodes as a JSON string.
getNodesJson() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Builds a JSON string representing all nodes in the graph.
getNumConnectedEdges(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the number of edges connected to the node identified by the given label.
getNumConnectedEdges(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the number of edges connected to the specified node based on the given node DTO.
getNumEdges() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Returns the number of edges in the graph.
getNumNodes() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Returns the number of nodes in the graph.
getTo() - Method in class com.vittoriopiotti.pathgraph.dto.EdgeDTO
Returns the endpoint of the edge.
getZoomFactor() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Retrieves the current zoom factor for the graph view.
GraphDTO - Class in com.vittoriopiotti.pathgraph.dto
GraphDTO represents a directed or undirected graph consisting of nodes and edges.
GraphDTO(File) - Constructor for class com.vittoriopiotti.pathgraph.dto.GraphDTO
Constructs a GraphDTO by reading data from a file.
GraphDTO(File, String, List<NodeDTO>, List<EdgeDTO>) - Constructor for class com.vittoriopiotti.pathgraph.dto.GraphDTO
Constructs a GraphDTO using a file or JSON content to populate nodes and edges.
GraphDTO(String) - Constructor for class com.vittoriopiotti.pathgraph.dto.GraphDTO
Constructs a GraphDTO using JSON content.
GraphDTO(List<NodeDTO>, List<EdgeDTO>) - Constructor for class com.vittoriopiotti.pathgraph.dto.GraphDTO
Constructs a GraphDTO with the given nodes and edges.

H

handle() - Method in interface com.vittoriopiotti.pathgraph.callbacks.AdjustPositionCallback
Handles the position adjustment.
handle() - Method in interface com.vittoriopiotti.pathgraph.callbacks.ContextMenuCallback
Handles the context menu event.
handle(Double) - Method in interface com.vittoriopiotti.pathgraph.callbacks.ZoomCallback
Handles the zoom event.
handle(Object...) - Method in interface com.vittoriopiotti.pathgraph.callbacks.AdjustPositionCallback
 
handle(Object...) - Method in interface com.vittoriopiotti.pathgraph.callbacks.BackgroundCallback
 
handle(Object...) - Method in interface com.vittoriopiotti.pathgraph.callbacks.ContextMenuCallback
 
handle(Object...) - Method in interface com.vittoriopiotti.pathgraph.callbacks.EdgeCallback
 
handle(Object...) - Method in interface com.vittoriopiotti.pathgraph.callbacks.GenericCallback
Handles a callback with variable parameters.
handle(Object...) - Method in interface com.vittoriopiotti.pathgraph.callbacks.NodeCallback
 
handle(Object...) - Method in interface com.vittoriopiotti.pathgraph.callbacks.ZoomCallback
 
handle(MouseEvent) - Method in interface com.vittoriopiotti.pathgraph.callbacks.BackgroundCallback
Handles a mouse event.
handle(MouseEvent, Character) - Method in interface com.vittoriopiotti.pathgraph.callbacks.NodeCallback
Handles the node event.
handle(MouseEvent, Character, Character) - Method in interface com.vittoriopiotti.pathgraph.callbacks.EdgeCallback
Handles the edge event.
hideUI() - Method in class com.vittoriopiotti.pathgraph.app.PathGraphUI
Hides the UI if it is currently visible.

I

INTERRUPTED - Static variable in class com.vittoriopiotti.pathgraph.app.Constants
Constant representing an interrupted process.
isActiveNode(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the specified vertex is currently active.
isActiveNode(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the specified node is active in the graph.
isConnectedEdge(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if there is a connection (edge) between two nodes.
isConnectedEdge(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the edge specified by the given EdgeDTO is connected in the graph.
isConnectedNode(EdgeDTO, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the specified label is connected to either of the two nodes defined by the given edge.
isConnectedNode(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the specified node, based on the given node DTO, is connected to any other node.
isDoubleEdge(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the given edge is a double edge in the graph.
isDoubleEdge(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the specified edge is bidirectional.
isDoubleEdge(NodeDTO, NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if there is a bidirectional edge between the given nodes.
isEdgeToRename(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the edge between two vertices is eligible to be renamed.
isEdgeToRename(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the specified edge, based on the given edge DTO, needs to be renamed.
isEdgeToRename(NodeDTO, NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if the edge between the specified starting and ending nodes is eligible for renaming.
isEqualEdge(char, char, char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if two edges defined by their start and end nodes are equal.
isEqualEdge(EdgeDTO, EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Compares two edges to determine if they are equal.
isExistEdge(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if an edge exists between two vertices in the graph.
isExistEdge(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if an edge between the specified nodes exists in the graph.
isExistEdge(NodeDTO, NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if an edge exists between the specified starting and ending nodes.
isExistNode(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if a node with the given label exists in the graph.
isExistNode(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Checks if a node with the specified label exists in the graph.

M

MAX_NODES - Static variable in class com.vittoriopiotti.pathgraph.app.Constants
Constant representing the max number of nodes.

N

newEdge() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge between two available nodes with a random cost.
newEdge(boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge between two available nodes with a specified arrow indication.
newEdge(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
 
newEdge(char, char, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new edge between two nodes specified by their labels with the given cost.
newEdge(char, char, int, boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new edge between two nodes specified by their labels with the given cost and a flag indicating if the edge is arrowed.
newEdge(char, char, int, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new edge between two nodes specified by their labels with the given cost and direction.
newEdge(char, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge from the start node to a connectable node with the given cost.
newEdge(char, int, boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge from the start node to a connectable node with the given cost and arrow indication.
newEdge(char, int, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge from the start node to a connectable node with the given cost and direction.
newEdge(int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge between two available nodes with the given cost.
newEdge(int, boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge between two available nodes with the given cost and arrow indication.
newEdge(int, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new random edge between two available nodes with the given cost and direction.
newEdge(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new edge in the graph based on the specified edge data transfer object (DTO).
newNode() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new node with a random label in the graph.
newNode(char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new node with the given label.
newNode(double, double, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new node at the specified coordinates with the given label.
newNode(NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Creates a new node in the graph based on the specified node data transfer object (DTO).
NodeCallback - Interface in com.vittoriopiotti.pathgraph.callbacks
A callback interface for handling node events with mouse and a character.
NodeDTO - Class in com.vittoriopiotti.pathgraph.dto
Represents a node in the graph with a unique label.
NodeDTO(char) - Constructor for class com.vittoriopiotti.pathgraph.dto.NodeDTO
Constructs a NodeDTO with the specified label.

P

PathGraph - Class in com.vittoriopiotti.pathgraph.app
The PathGraph class represents a graphical panel that extends Pane and manages the logic for handling a graph's display and interaction.
PathGraph() - Constructor for class com.vittoriopiotti.pathgraph.app.PathGraph
Initializes a PathGraph with default interaction handlers and zoom functionality.
PathGraph(ContextMenuCallback, EdgeCallback, NodeCallback, BackgroundCallback, ZoomCallback, AdjustPositionCallback) - Constructor for class com.vittoriopiotti.pathgraph.app.PathGraph
Initializes a PathGraph with custom parameters for graph interactions and layout.
PathGraph(EdgeCallback, NodeCallback, BackgroundCallback, ZoomCallback) - Constructor for class com.vittoriopiotti.pathgraph.app.PathGraph
Initializes a PathGraph with interaction handlers and zoom functionality.
PathGraphUI - Class in com.vittoriopiotti.pathgraph.app
The PathGraphUI class extends PathGraph to provide a user interface layer on top of the graph management functionalities.
PathGraphUI(Stage, Scene) - Constructor for class com.vittoriopiotti.pathgraph.app.PathGraphUI
Default constructor for the PathGraphUI class with all control panels visible and not hidden initially.
PathGraphUI(Stage, Scene, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class com.vittoriopiotti.pathgraph.app.PathGraphUI
Constructor for the PathGraphUI class that extends a Pane component for displaying and managing an interactive graph with zoom, drag, and various operations on nodes and edges.

R

renameNode(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Renames a node in the graph by changing its label from one character to another.
renameNode(NodeDTO, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Renames the node specified by the given NodeDTO to the new label.
renameNode(NodeDTO, NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Renames the node specified by the given NodeDTO to the label of another NodeDTO.
resetStyles() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Resets the styles of all graph elements (nodes, edges) to their default states.
rotateEdge(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Rotates the edge between two vertices in the graph.
rotateEdge(char, char, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Rotates the edge between two vertices in the graph with the specified direction.
rotateEdge(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Rotates the edge between the two nodes specified in the given EdgeDTO.
rotateEdge(EdgeDTO, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Rotates the edge between the two nodes specified in the given EdgeDTO to the specified direction.

S

setAdjustPosition(AdjustPositionCallback) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets a callback to adjust the position of the graph elements.
setAllCallbacks(ContextMenuCallback, EdgeCallback, NodeCallback, BackgroundCallback, ZoomCallback, AdjustPositionCallback) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets all callback functions for the graph, including mouse event handlers and layout adjustments.
setArrow(char, char, boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets whether the edge between two vertices should be arrowed (directed) or not.
setArrow(EdgeDTO, boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets the arrow status for the edge between the two nodes specified in the given EdgeDTO.
setAutomaticLayout(boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets whether the graph layout should be dynamic or automatic.
setBackgroundCallback(BackgroundCallback) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets a callback to be executed when the background of the graph is clicked.
setContextMenuCallback(ContextMenuCallback) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets a callback to be executed to close the context menu.
setCost(char, char, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Renames an edge at a low level with the specified new cost value.
setCost(EdgeDTO, int) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets the cost of the edge specified by the given EdgeDTO.
setEdgeCallback(EdgeCallback) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets a callback to be executed when an edge in the graph is clicked.
setGraph(GraphDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets the graph data for the graph panel using a GraphDTO object.
setNodeCallback(NodeCallback) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets a callback to be executed when a node in the graph is clicked.
setUI(boolean, boolean, boolean, boolean, boolean, boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraphUI
Sets the visibility of various UI elements based on the provided parameters and controls the initial hide state.
setup() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Initializes and sets up the graph asynchronously, running it on the JavaFX thread.
setZoomCallback(ZoomCallback) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Sets a callback to be executed when the zoom level changes.
showPath(List<NodeDTO>) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Displays a path represented by a list of NodeDTO objects in the graph.
showUI() - Method in class com.vittoriopiotti.pathgraph.app.PathGraphUI
Shows the UI if it is currently hidden.
splitEdge(char, char) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Splits the edge between two vertices into two separate edges.
splitEdge(EdgeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Splits an edge in the graph based on the specified edge data transfer object (DTO).
splitEdge(NodeDTO, NodeDTO) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Splits the edge between the specified starting and ending nodes.
SUCCESS - Static variable in class com.vittoriopiotti.pathgraph.app.Constants
Constant representing a successful process.

T

takeScreenshot() - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Takes a screenshot of the graph.
takeScreenshot(boolean) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Takes a screenshot of the graph, with an option to capture an animated screenshot.
toggleUI() - Method in class com.vittoriopiotti.pathgraph.app.PathGraphUI
Toggles the visibility of the UI elements.
toString() - Method in class com.vittoriopiotti.pathgraph.dto.ConnectionDTO
Returns a string representation of the ConnectionDTO.
toString() - Method in class com.vittoriopiotti.pathgraph.dto.EdgeDTO
Returns a string representation of the EdgeDTO.
toString() - Method in class com.vittoriopiotti.pathgraph.dto.GraphDTO
Returns a string representation of the GraphDTO.
toString() - Method in class com.vittoriopiotti.pathgraph.dto.NodeDTO
Returns a string representation of the NodeDTO.

U

uploadJSON(File) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Uploads a JSON representation of the graph from a specified file.
uploadJSON(Window) - Method in class com.vittoriopiotti.pathgraph.app.PathGraph
Uploads a JSON representation of the graph using a provided window for file selection.

Z

ZoomCallback - Interface in com.vittoriopiotti.pathgraph.callbacks
A callback interface for handling zoom events with a zoom level.
A B C D E F G H I M N P R S T U Z 
All Classes and Interfaces|All Packages|Constant Field Values