Uses of Interface
org.gephi.graph.api.Node
-
Packages that use Node Package Description org.gephi.datalab.api Data Laboratory API, all capabilites are exposed through various controllers.org.gephi.datalab.spi.nodes org.gephi.graph.api Complete API description, whereGraphModelis the entry point.org.gephi.tools.api API for selecting the current Tool.org.gephi.tools.spi Tools are functions for interacting with user inputs on the visualization window. -
-
Uses of Node in org.gephi.datalab.api
Methods in org.gephi.datalab.api that return Node Modifier and Type Method Description NodeGraphElementsController. createNode(String label)Creates a node with default id and the given label in the current graph.NodeGraphElementsController. createNode(String label, String id)Creates a node with the given id and label in the current graph.NodeGraphElementsController. createNode(String label, String id, Graph graph)Creates a node with the given id and label.NodeGraphElementsController. createNode(String label, Graph graph)Creates a node with default id and the given label.NodeGraphElementsController. duplicateNode(Node node)Duplicates a node if it is in the graph, and returns the new node.NodeSearchReplaceController.SearchResult. getFoundNode()Node[]GraphElementsController. getNodeNeighbours(Node node)Prepares and returns an array with the neighbour nodes of the specified node.Node[]SearchReplaceController.SearchOptions. getNodesToSearch()NodeGraphElementsController. mergeNodes(Graph graph, Node[] nodes, Node selectedNode, Column[] columns, AttributeRowsMergeStrategy[] mergeStrategies, boolean deleteMergedNodes)Merges 2 or more nodes into a new one node that has all the edges of the merged nodes.Methods in org.gephi.datalab.api that return types with arguments of type Node Modifier and Type Method Description List<List<Node>>AttributeColumnsController. detectNodeDuplicatesByColumn(Column column, boolean caseSensitive)Finds and returns nodes duplicates based on the values of a given column of nodes tableMethods in org.gephi.datalab.api with parameters of type Node Modifier and Type Method Description booleanGraphElementsController. areNodesInGraph(Node[] nodes)Checks if an array of nodes are contained in the main view graph.voidAttributeColumnsController. clearNodeData(Node node, Column[] columnsToClear)Clears all node attributes except computed attributes and id, checking first that the node is in the graph.voidAttributeColumnsController. clearNodesData(Node[] nodes, Column[] columnsToClear)Clears all the nodes attributes except computed attributes and id.voidAttributeColumnsController. copyNodeDataToOtherNodes(Node node, Node[] otherNodes, Column[] columnsToCopy)Copies attributes data of the given node to the other rows except computed attributes and id.EdgeGraphElementsController. createEdge(String id, Node source, Node target, boolean directed)Creates and edge between source and target node (if it does not already exist), directed or undirected.EdgeGraphElementsController. createEdge(String id, Node source, Node target, boolean directed, Object typeLabel)Creates and edge between source and target node (if it does not already exist), directed or undirected.EdgeGraphElementsController. createEdge(String id, Node source, Node target, boolean directed, Object typeLabel, Graph graph)Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.EdgeGraphElementsController. createEdge(String id, Node source, Node target, boolean directed, Graph graph)Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.EdgeGraphElementsController. createEdge(Node source, Node target, boolean directed)Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.EdgeGraphElementsController. createEdge(Node source, Node target, boolean directed, Object typeLabel)Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.EdgeGraphElementsController. createEdge(Node source, Node target, boolean directed, Object typeLabel, Graph graph)Creates and edge between source and target node (if it does not already exist), directed or undirected.EdgeGraphElementsController. createEdge(Node source, Node target, boolean directed, Graph graph)Creates and edge between source and target node (if it does not already exist), directed or undirected.voidGraphElementsController. createEdges(Node source, Node[] allNodes, boolean directed)Tries to create edges between the source node and all other edges, directed or undirected.voidGraphElementsController. deleteNode(Node node)Tries to delete a node checking first if it is on the graph.voidGraphElementsController. deleteNodes(Node[] nodes)Tries to delete an array of nodes checking first if they are on the graph.NodeGraphElementsController. duplicateNode(Node node)Duplicates a node if it is in the graph, and returns the new node.voidGraphElementsController. duplicateNodes(Node[] nodes)Tries to duplicate an array of nodes with the same behaviour asduplicateNodemethod.voidAttributeColumnsController. fillNodesColumnWithValue(Node[] nodes, Column column, String value)Fills the data values of a given column of the indicated nodes with a value as a String, parsing it for theClassof the column.Edge[]GraphElementsController. getNodeEdges(Node node)Prepares and returns an array with the edges incident to the specified node.Node[]GraphElementsController. getNodeNeighbours(Node node)Prepares and returns an array with the neighbour nodes of the specified node.booleanGraphElementsController. isNodeFixed(Node node)Checks the fixed state of a node.booleanGraphElementsController. isNodeInGraph(Node node)Checks if a node is contained in the main view graph.NodeGraphElementsController. mergeNodes(Graph graph, Node[] nodes, Node selectedNode, Column[] columns, AttributeRowsMergeStrategy[] mergeStrategies, boolean deleteMergedNodes)Merges 2 or more nodes into a new one node that has all the edges of the merged nodes.voidSearchReplaceController.SearchResult. setFoundNode(Node foundNode)voidGraphElementsController. setNodeFixed(Node node, boolean fixed)Sets the fixed state of a node to the indicated.voidGraphElementsController. setNodesFixed(Node[] nodes, boolean fixed)Sets the fixed state of an array of nodes to the indicated.Constructors in org.gephi.datalab.api with parameters of type Node Constructor Description SearchOptions(Node[] nodesToSearch, Pattern regexPattern)Setup options to search on nodes with the given pattern.SearchOptions(Node[] nodesToSearch, Pattern regexPattern, boolean onlyMatchWholeAttributeValue)Setup options to search on nodes with the given pattern.SearchResult(SearchReplaceController.SearchOptions searchOptions, Node foundNode, Edge foundEdge, int foundRowIndex, int foundColumnIndex, int start, int end) -
Uses of Node in org.gephi.datalab.spi.nodes
Methods in org.gephi.datalab.spi.nodes with parameters of type Node Modifier and Type Method Description voidNodesManipulator. setup(Node[] nodes, Node clickedNode)Prepare nodes for this action. -
Uses of Node in org.gephi.graph.api
Methods in org.gephi.graph.api that return Node Modifier and Type Method Description NodeGraph. getNode(Object id)Gets a node given its identifier.NodeGraph. getOpposite(Node node, Edge edge)Gets the node at the opposite end of the given edge.NodeEdge. getSource()Returns the egde's source.NodeEdge. getTarget()Returns the edge's target.NodeGraphFactory. newNode()Creates and returns a node.NodeGraphFactory. newNode(Object id)Creates and returns a node.NodeNodeIterable.NodeIterableEmpty. next()Node[]NodeIterable.NodeIterableEmpty. toArray()Node[]NodeIterable. toArray()Returns the iterator content as an array.Methods in org.gephi.graph.api that return types with arguments of type Node Modifier and Type Method Description Index<Node>GraphModel. getNodeIndex()Gets the node index.Index<Node>GraphModel. getNodeIndex(GraphView view)Gets the node index for the given graph view.TimeIndex<Node>GraphModel. getNodeTimeIndex()Gets the node time index.TimeIndex<Node>GraphModel. getNodeTimeIndex(GraphView view)Gets the node time index for the given view.Iterator<Node>NodeIterable. iterator()Returns a node iterator.Iterator<Node>NodeIterable.NodeIterableEmpty. iterator()Collection<Node>NodeIterable.NodeIterableEmpty. toCollection()Collection<Node>NodeIterable. toCollection()Returns the iterator content as a collection.Set<Node>NodeIterable.NodeIterableEmpty. toSet()Set<Node>NodeIterable. toSet()Returns the iterator content as a set.Methods in org.gephi.graph.api with parameters of type Node Modifier and Type Method Description booleanGraph. addNode(Node node)Adds a node to this graph.booleanSubgraph. addNode(Node node)Adds a node to this subgraph.voidGraph. clearEdges(Node node)Clears the edges incident to the given node.voidGraph. clearEdges(Node node, int type)Clears the edges of the given type incident to the given node.booleanGraph. contains(Node node)Returns true if node is contained in this graph.voidGraphBridge. copyNodes(Node[] nodes)Copy the given nodes to the current graph store.intGraph. getDegree(Node node)Gets the node degree.EdgeDirectedGraph. getEdge(Node source, Node target)Gets the edge adjacent to source and target.EdgeDirectedGraph. getEdge(Node source, Node target, int type)Gets the edge adjacent to source and target with an edge of the given type.EdgeGraph. getEdge(Node node1, Node node2)Gets the edge adjacent to node1 and node2.EdgeGraph. getEdge(Node node1, Node node2, int type)Gets the edge adjacent to node1 and node2 and from the given type.EdgeIterableGraph. getEdges(Node node)Gets all edges incident to a given node.EdgeIterableGraph. getEdges(Node node, int type)Gets all edges incident to a given node with the given edge type.EdgeIterableGraph. getEdges(Node node1, Node node2)Get the edges adjacent to node1 and node2.EdgeIterableGraph. getEdges(Node node1, Node node2, int type)Gets the edges adjacent to node1 and node 2 and from the given type.intDirectedGraph. getInDegree(Node node)Gets the edge's in-degree.EdgeIterableDirectedGraph. getInEdges(Node node)Gets the node's incoming edges.EdgeIterableDirectedGraph. getInEdges(Node node, int type)Gets the node's incoming edges for the given type.NodeIterableGraph. getNeighbors(Node node)Gets all neighbors of a given node.NodeIterableGraph. getNeighbors(Node node, int type)Gets all neighbors of a given node connected through the given edge type.NodeGraph. getOpposite(Node node, Edge edge)Gets the node at the opposite end of the given edge.intDirectedGraph. getOutDegree(Node node)Gets the edge's out-degree.EdgeIterableDirectedGraph. getOutEdges(Node node)Gets the node's outgoing edges.EdgeIterableDirectedGraph. getOutEdges(Node node, int type)Gets the node's incoming edges for the given type.NodeIterableDirectedGraph. getPredecessors(Node node)Gets the node's predecessors.NodeIterableDirectedGraph. getPredecessors(Node node, int type)Gets the node's predecessors through a specific edge type.NodeIterableDirectedGraph. getSuccessors(Node node)Gets the node's successors.NodeIterableDirectedGraph. getSuccessors(Node node, int type)Gets the node's successors through a specific edge type.booleanDirectedGraph. isAdjacent(Node source, Node target)Returns true if source and target are adjacent.booleanDirectedGraph. isAdjacent(Node source, Node target, int type)Returns true if source and target are adjacent with an edge of the given type.booleanGraph. isAdjacent(Node node1, Node node2)Returns true if node1 and node2 are adjacent.booleanGraph. isAdjacent(Node node1, Node node2, int type)Returns true if node1 and node2 are adjacent with an edge of the given type.booleanGraph. isIncident(Node node, Edge edge)Returns true if the node and the edge are incident.EdgeGraphFactory. newEdge(Object id, Node source, Node target, int type, double weight, boolean directed)Creates and returns an edge between source and target.EdgeGraphFactory. newEdge(Node source, Node target)Creates and returns a directed edge between source and target.EdgeGraphFactory. newEdge(Node source, Node target, boolean directed)Creates and returns an edge between source and target.EdgeGraphFactory. newEdge(Node source, Node target, int type, boolean directed)Creates and returns an edge between source and target.EdgeGraphFactory. newEdge(Node source, Node target, int type, double weight, boolean directed)Creates and returns an edge between source and target.booleanGraph. removeNode(Node node)Removes a node from this graph.booleanSubgraph. removeNode(Node node)Removes a node from this subgraph.Method parameters in org.gephi.graph.api with type arguments of type Node Modifier and Type Method Description booleanGraph. addAllNodes(Collection<? extends Node> nodes)Adds all nodes in the collection to this graph.booleanSubgraph. addAllNodes(Collection<? extends Node> nodes)Adds a collection of nodes to this subgraph.booleanGraph. removeAllNodes(Collection<? extends Node> nodes)Removes all nodes in the collection from this graph.booleanSubgraph. removeAllNodes(Collection<? extends Node> nodes)Removes a collection of nodes from this subgraph. -
Uses of Node in org.gephi.tools.api
Methods in org.gephi.tools.api with parameters of type Node Modifier and Type Method Description voidEditWindowController. editNode(Node node)voidEditWindowController. editNodes(Node[] nodes) -
Uses of Node in org.gephi.tools.spi
Methods in org.gephi.tools.spi with parameters of type Node Modifier and Type Method Description voidNodeClickEventListener. clickNodes(Node[] nodes)Notifynodeshave been clicked by user on the visualization window.voidNodePressingEventListener. pressingNodes(Node[] nodes)Notifynodesare currently pressed.voidNodePressAndDraggingEventListener. pressNodes(Node[] nodes)Notifynodeshave been pressed by user on the visualization window.
-