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 Edge
addEdgeCopyIfNotExistant(Edge refEdge, Node a, Node b)
static Edge
addEdgeIfNotExistant(Graph graph, Node nodeA, Node nodeB, boolean directed, CollectionAttribute graphicsAttributeForEdge)
static Node
addMapNode(Graph superGraph, KeggPathwayEntry kpe)
static void
connectNodesWithSameLabel(List<Node> nodes)
static ArrayList<Node>
getEnzymeNodes(Graph g)
static String
getKeggName(GraphElement ge, String resultIfNotAvailable)
static String
getKeggType(GraphElement ge, String resultIfNotAvailable)
static ArrayList<Edge>
getMapLinkEdges(Graph g)
static ArrayList<Node>
getMapLinkNodes(Graph g)
static boolean
isMapLink(Edge e)
static void
mergeNodesWithSameLabel(List<Node> nodes, boolean selectOnlyTrueOrMergeIsFalse, boolean extendSelection, boolean considerCluster)
static void
mergeNodesWithSameLabel(List<Node> nodes, boolean selectOnlyTrueOrMergeIsFalse, boolean extendSelection, boolean considerCluster, boolean considerPositionPlusMinus10, boolean retainClusterIDs)
static void
setKeggType(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
-