| demo.yext.graphml.GraphMLDemo | Demonstrates the use of class GraphMLIOHandler.
Demo files are located in the directory demo/yext/graphml/resources/ygraph.
|
| demo.yext.graphml.BaseGraphSerializationDemo | Shows how to use the low-level functionality of the yFiles GraphML extension package to read and write graphs of type y.base.Graph instead of y.view.Graph2D. |
| demo.yext.graphml.CustomGraphMLDemo | Demo to show the attribute extension of GraphML. It shows how simple
attributes (i.e. Strings, doubles) of graph elements can be serialized.
Demo files are located in the directory demo/yext/graphml/resources/custom.
|
| demo.yext.graphml.ComplexExtensionGraphMLDemo | Another demo to show the attribute extension of GraphML. It shows how complex attributes of graph elements can be serialized using class demo.yext.graphml.ComplexExtensionGraphMLIOHandler, a customized subclass of GraphMLIOHandler. |
| demo.yext.graphml.CustomNodeRealizerSerializerDemo | Demonstrates how support for custom realizer implementations can be added to GraphML by using so-called realizer serializers. Class demo.yext.graphml.CustomNodeRealizerSerializer, handles both encoding and parsing of the custom node realizer implementation demo.yext.graphml.CustomNodeRealizer. |
| demo.yext.graphml.DotnetCompatDemo | This demo shows how to import/export pure layout information in .NET GraphML format. |
| demo.yext.graphml.GraphMLIdDemo | This demo shows how to persist the values of core graphml id elements. |
| demo.yext.graphml.PostprocessorDemo | This demo centers around postprocessing actions that can be specified within a GraphML file. These actions allow to process the parsed graph structure before it gets returned by the GraphML parser. |
| demo.yext.graphml.XMLXSLDemo | This demo shows how XML files can be imported as GraphML by means of an XSLT stylesheet. Sample stylesheets for the following XML data are provided: |
Open a console window and change to the toplevel graphml directory.
Then enter
java -cp ".;<YFILES>\y.jar;graphml.jar;lib\crimson.jar"
<FullyQualifiedDemoName>
where
<FullyQualifiedDemoName> is the fully qualified class name of
one of the demos above, e.g., demo.yext.graphml.GraphMLDemo, and <YFILES>
is the path of the yFiles distribution.
When using a JDK with version number equal to or higher than 1.4,
lib/crimson.jar can be omitted.
Open a console window and change to the toplevel graphml directory.
Then enter
java -cp ".:<YFILES>/y.jar:graphml.jar:lib/crimson.jar"
<FullyQualifiedDemoName>
where
<FullyQualifiedDemoName> is the fully qualified class name of
one of the demos above, e.g., demo.yext.graphml.GraphMLDemo, and <YFILES>
is the path of the yFiles distribution.
When using a JDK with version number equal to or higher than 1.4,
lib/crimson.jar can be omitted.
Copyright ©2001-2007, yWorks GmbH. All rights reserved.