Package | com.yworks.io.graphml.writer |
Interface | public interface IIdProvider |
Implementors | DirectGraphMLWriter |
id
attribute value of core GraphML elements.
Note: Implementations must ensure that ids are unique for each element domain, since the framework makes no attempt to
recognize duplicate id values itself.
Method | Defined By | ||
---|---|---|---|
getEdgeId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified edge object
| IIdProvider | ||
getGraphId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified graph object
| IIdProvider | ||
getNodeId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified node object
| IIdProvider | ||
getPortId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified port object
| IIdProvider |
getEdgeId | () | method |
public function getEdgeId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified edge object
Parameters
o:Object — the current edge object
| |
context:GraphMLWriteContext — the current write context, for further information to the provider
|
String — an ID for the specified edge object
|
getGraphId | () | method |
public function getGraphId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified graph object
Parameters
o:Object — the current graph object
| |
context:GraphMLWriteContext — the current write context, for further information to the provider
|
String — an ID for the specified graph object
|
getNodeId | () | method |
public function getNodeId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified node object
Parameters
o:Object — the current node object
| |
context:GraphMLWriteContext — the current write context, for further information to the provider
|
String — an ID for the specified node object
|
getPortId | () | method |
public function getPortId(o:Object, context:GraphMLWriteContext):String
Get an ID for the specified port object
Parameters
o:Object — the current port object
| |
context:GraphMLWriteContext — the current write context, for further information to the provider
|
String — an ID for the specified port object
|