//TODO evaluate
return new DirectedSparseGraph<NavigationEntry, String>();
}
else if (metadata instanceof NodeMetadata)
{
NodeMetadata nodeMetadata = (NodeMetadata) metadata;
Properties result = new Properties();
result.put(NavigationEntry.ID, nodeMetadata.getId());
result.putAll(nodeMetadata.getProperties());
return new NavigationEntry( result);
}
else if (metadata instanceof EdgeMetadata)
{
EdgeMetadata edgeMetadata = (EdgeMetadata) metadata;