documentationfor yFiles for HTML 2.6

Method Return Values

createGraphElementFactory (GraphMLParser, IGraph)in GraphMLIOHandlerCreate an IGraphElementFactory instance that creates the graph elements for the graph instance.
create ()in IGraphElementFactoryCreates an implementation of the interface IGraphElementFactory from the given definition.

Method Parameters

parseFromDocument (IGraph, Document, IGraphElementFactory)in GraphMLParserParse the XML document document into an graph instance, using elementFactory to create the elements.
parseFromURL (IGraph, string, IGraphElementFactory)in GraphMLParserParse the input url into an graph instance, using elementFactory to create the elements.