Class GraphHelperBio
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.GraphHelperBio
- All Implemented Interfaces:
HelperClass
public class GraphHelperBio extends Object implements HelperClass
- Author:
- Christian Klukas
-
Constructor Summary
Constructors Constructor Description GraphHelperBio() -
Method Summary
Modifier and Type Method Description static EdgeaddEdgeCopyIfNotExistant(Edge refEdge, Node a, Node b)static EdgeaddEdgeIfNotExistant(Graph graph, Node nodeA, Node nodeB, boolean directed, CollectionAttribute graphicsAttributeForEdge)static NodeaddMapNode(Graph superGraph, KeggPathwayEntry kpe)static voidconnectNodesWithSameLabel(List<Node> nodes)static ArrayList<Node>getEnzymeNodes(Graph g)static StringgetKeggName(GraphElement ge, String resultIfNotAvailable)static StringgetKeggType(GraphElement ge, String resultIfNotAvailable)static ArrayList<Edge>getMapLinkEdges(Graph g)static ArrayList<Node>getMapLinkNodes(Graph g)static booleanisMapLink(Edge e)static voidmergeNodesWithSameLabel(List<Node> nodes, boolean selectOnlyTrueOrMergeIsFalse, boolean extendSelection, boolean considerCluster)static voidmergeNodesWithSameLabel(List<Node> nodes, boolean selectOnlyTrueOrMergeIsFalse, boolean extendSelection, boolean considerCluster, boolean considerPositionPlusMinus10, boolean retainClusterIDs)static voidsetKeggType(GraphElement ge, String keggType)
-
Constructor Details
-
GraphHelperBio
public GraphHelperBio()
-
-
Method Details
-
getKeggType
-
setKeggType
-
getKeggName
-
isMapLink
-
getMapLinkEdges
-
getEnzymeNodes
-
getMapLinkNodes
-
addEdgeIfNotExistant
public static Edge addEdgeIfNotExistant(Graph graph, Node nodeA, Node nodeB, boolean directed, CollectionAttribute graphicsAttributeForEdge) -
addEdgeCopyIfNotExistant
-
addMapNode
-
mergeNodesWithSameLabel
-
mergeNodesWithSameLabel
-
connectNodesWithSameLabel
-