JavaScript is disabled on your browser.
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.kgml.KeggGmlHelper
Method Summary
All Methods Static Methods Concrete Methods
Modifier and Type
Method
Description
static boolean
getIsPartOfGroup (Node n)
static Color
getKeggGraphicsBgColor (Node n)
static Color
getKeggGraphicsFgColor (Node n)
static int
getKeggGraphicsHeight (Node n)
static String
getKeggGraphicsTitle (Node n)
static kgmlGraphicsType
getKeggGraphicsType (Node n)
static int
getKeggGraphicsWidth (Node n)
static int
getKeggGraphicsX (Node n)
static int
getKeggGraphicsY (Node n)
static String
getKeggId (Graph graph)
static String
getKeggId (Node n)
static ArrayList <IndexAndString >
getKeggIds (Node n)
static String
getKeggImageUrl (Graph graph)
static String
getKeggImageUrl (Node n)
static String
getKeggLinkUrl (Graph graph)
static String
getKeggLinkUrl (Node n)
static String
getKeggLinkUrl (Node n,
int index)
static String
getKeggMapNumber (Graph graph)
static String
getKeggOrg (Graph graph)
static ArrayList <IndexAndString >
getKeggReactionProducts (Edge e)
static ArrayList <IndexAndString >
getKeggReactions (Node n)
static ArrayList <IndexAndString >
getKeggReactionSubstrates (Edge e)
static String
getKeggReactionType (Attributable nodeOrEdge,
int index)
static ArrayList <IndexAndString >
getKeggReactionTypes (Attributable nodeOrEdge)
static String
getKeggTitle (Graph graph)
static String
getKeggType (Node n)
static String
getKeggType (Node n,
int index)
static Set <Node >
getNodesInsideThisNode (Node bigNode,
Collection <Node > nodes,
HashMap <Node ,Vector2d > node2upperLeftPos,
HashMap <Node ,Vector2d > node2lowerRightPos)
Find those nodes, which are located inside the "bigNode".
static ArrayList <IndexAndString >
getRelationSourceAndTargets (Edge e)
static String
getRelationSourceTarget (Edge e,
int index)
static String
getRelationSubtypeName (Edge e,
int index)
static ArrayList <IndexAndString >
getRelationSubTypeNames (Edge e)
static ArrayList <IndexAndString >
getRelationTypes (Edge e)
static void
setEdgeLabel (Edge e,
String label)
static void
setIsPartOfGroup (Node n,
boolean value)
static void
setKeggGraphicsBgColor (Node n,
Color bgcolor)
static void
setKeggGraphicsFgColor (Node n,
Color fgcolor)
static void
setKeggGraphicsHeight (Node n,
int height)
static void
setKeggGraphicsLineStyleIndirect (Edge e)
static void
setKeggGraphicsLineStyleInhibitionArrow (Edge e)
static void
setKeggGraphicsLineStyleMap (Edge e)
static void
setKeggGraphicsTitle (Node n,
String name)
static void
setKeggGraphicsType (Node n,
kgmlGraphicsType type)
static void
setKeggGraphicsWidth (Node n,
int width)
static void
setKeggGraphicsX (Node n,
int xPosition)
static void
setKeggGraphicsY (Node n,
int yPosition)
static void
setKeggId (Graph graph,
String id)
static void
setKeggId (Node n,
String id)
static void
setKeggId (Node n,
String id,
int index)
static void
setKeggImageUrl (Graph graph,
String imageURL)
static void
setKeggLinkUrl (Graph graph,
String linkURL)
static void
setKeggLinkUrl (Node n,
int index,
String linkURL)
static void
setKeggLinkUrl (Node n,
String linkURL)
static void
setKeggMapNumber (Graph graph,
String number)
static void
setKeggOrg (Graph graph,
String org)
static void
setKeggReaction (Node n,
int index,
String id)
static void
setKeggReactionProduct (Edge e,
int index,
String id)
static void
setKeggReactionSubstrate (Edge e,
int index,
String id)
static void
setKeggReactionType (Attributable nodeOrEdge,
int index,
String type)
static void
setKeggTitle (Graph graph,
String title)
static void
setKeggType (Node n,
int index,
String type)
static void
setKeggType (Node n,
String type)
static void
setRelationSourceTargetInformation (Edge e,
int index,
String srcKeggId,
String tgtKeggId)
static void
setRelationSrcTgtInformation (Edge e,
int i,
IdRef e1,
IdRef e2)
Add information about source or target entity which requests a relation and
thus the creation of an edge
static void
setRelationSubtypeName (Edge e,
int index,
String subtype)
static void
setRelationTypeInformation (Edge e,
int index,
RelationType rt)
Constructor Details
KeggGmlHelper
public KeggGmlHelper ()
Method Details
setKeggId
public static void setKeggId (
Node n,
String id,
int index)
setKeggOrg
public static void setKeggOrg (
Graph graph,
String org)
setKeggMapNumber
public static void setKeggMapNumber (
Graph graph,
String number)
setKeggTitle
public static void setKeggTitle (
Graph graph,
String title)
setKeggImageUrl
public static void setKeggImageUrl (
Graph graph,
String imageURL)
setKeggLinkUrl
public static void setKeggLinkUrl (
Graph graph,
String linkURL)
setKeggLinkUrl
public static void setKeggLinkUrl (
Node n,
String linkURL)
setKeggLinkUrl
public static void setKeggLinkUrl (
Node n,
int index,
String linkURL)
getKeggLinkUrl
public static String getKeggLinkUrl (
Node n,
int index)
setKeggType
public static void setKeggType (
Node n,
String type)
setKeggType
public static void setKeggType (
Node n,
int index,
String type)
getKeggType
public static String getKeggType (
Node n,
int index)
setKeggReaction
public static void setKeggReaction (
Node n,
int index,
String id)
setKeggReactionProduct
public static void setKeggReactionProduct (
Edge e,
int index,
String id)
setKeggReactionSubstrate
public static void setKeggReactionSubstrate (
Edge e,
int index,
String id)
getKeggReactionSubstrates
setKeggGraphicsTitle
public static void setKeggGraphicsTitle (
Node n,
String name)
getKeggGraphicsTitle
public static String getKeggGraphicsTitle (
Node n)
setKeggGraphicsX
public static void setKeggGraphicsX (
Node n,
int xPosition)
getKeggGraphicsX
public static int getKeggGraphicsX (
Node n)
setKeggGraphicsY
public static void setKeggGraphicsY (
Node n,
int yPosition)
getKeggGraphicsY
public static int getKeggGraphicsY (
Node n)
setKeggGraphicsWidth
public static void setKeggGraphicsWidth (
Node n,
int width)
getKeggGraphicsWidth
public static int getKeggGraphicsWidth (
Node n)
setKeggGraphicsHeight
public static void setKeggGraphicsHeight (
Node n,
int height)
getKeggGraphicsHeight
public static int getKeggGraphicsHeight (
Node n)
setKeggGraphicsFgColor
public static void setKeggGraphicsFgColor (
Node n,
Color fgcolor)
getKeggGraphicsFgColor
public static Color getKeggGraphicsFgColor (
Node n)
setKeggGraphicsBgColor
public static void setKeggGraphicsBgColor (
Node n,
Color bgcolor)
getKeggGraphicsBgColor
public static Color getKeggGraphicsBgColor (
Node n)
getRelationSourceAndTargets
getRelationSourceTarget
public static String getRelationSourceTarget (
Edge e,
int index)
getRelationSubtypeName
public static String getRelationSubtypeName (
Edge e,
int index)
setRelationSubtypeName
public static void setRelationSubtypeName (
Edge e,
int index,
String subtype)
setKeggGraphicsLineStyleMap
public static void setKeggGraphicsLineStyleMap (
Edge e)
setKeggGraphicsLineStyleIndirect
public static void setKeggGraphicsLineStyleIndirect (
Edge e)
setEdgeLabel
public static void setEdgeLabel (
Edge e,
String label)
getNodesInsideThisNode
Find those nodes, which are located inside the "bigNode". A node is regarded
to be "inside" a node, when the upper left point if the rectangle, defined by
the node position and side is inside the surrounding of the "bigNode", and at
the same time the lower-right point is located also in the bigNode.
Parameters:
node2lowerRightPos
-
node2upperLeftPos
-
getIsPartOfGroup
public static boolean getIsPartOfGroup (
Node n)
setIsPartOfGroup
public static void setIsPartOfGroup (
Node n,
boolean value)
setKeggGraphicsLineStyleInhibitionArrow
public static void setKeggGraphicsLineStyleInhibitionArrow (
Edge e)
Copyright © 2016-2021 Chair for Life Science Informatics, University of Konstanz, Germany