|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GraphElementIdProvider
Interface for classes that provide custom id's for core graphml elements
| Method Summary | |
|---|---|
String |
getEdgeId(Edge edge,
GraphMLWriteContext context)
Get an ID for the specified edge Object |
String |
getGraphId(Graph graph,
GraphMLWriteContext context)
Get an ID for the specified graph Object |
String |
getNodeId(Node node,
GraphMLWriteContext context)
Get an ID for the specified node Object |
String |
getPortId(Port port,
Node owner,
GraphMLWriteContext context)
Get an ID for the specified port Object |
| Method Detail |
|---|
String getGraphId(Graph graph,
GraphMLWriteContext context)
graph - the current graph Objectcontext - the current write context, for further information to the provider
String getNodeId(Node node,
GraphMLWriteContext context)
node - the current node Objectcontext - the current write context, for further information to the provider
String getEdgeId(Edge edge,
GraphMLWriteContext context)
edge - the current edge Objectcontext - the current write context, for further information to the provider
String getPortId(Port port,
Node owner,
GraphMLWriteContext context)
port - the current port Objectcontext - the current write context, for further information to the providerowner - the node that owns the current port
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||