ARROWS, BEND_STYLE, BORDER_INSETS, BORDER_STYLE, DATA, DROP_SHADOW, EDGE, EDGE_LABEL, FILL, GEOMETRY, GRAPH, GRAPHML, GROUP_NODE, ID, IMAGE_ICON, INSETS, KEY, LABEL_MODEL, LINE_STYLE, MODEL_PARAMETER, NODE, NODE_LABEL, PATH, POINT, POLYLINE_EDGE, PORT_CONSTRAINT, PROXY_AUTOBOUNDS_NODE, QUADCURVE_EDGE, REALIZERS, RESOURCE, RESOURCES, ROTATED_DISCRETE_LABELMODEL, ROTATED_DISCRETE_LABELMODEL_PARAMETER, SCALED_ICON, SHAPE, SHAPE_NODE, SMART_EGDE_LABELMODEL, SMART_EGDE_LABELMODEL_PARAMETER, SOURCE, STATE, TARGET, Y, YED
Constructor and Description |
---|
GraphmlModelParser() |
GraphmlModelParser(DiagramDefaults defaults) |
Modifier and Type | Method and Description |
---|---|
GraphMLDiagram |
getDiagram()
Return the parsed diagram.
|
boolean |
parse(java.io.File file)
¨Parse a graphml file.
|
boolean |
parse(java.net.URL url)
¨Parse a graphml URL.
|
public GraphmlModelParser()
public GraphmlModelParser(DiagramDefaults defaults)
public boolean parse(java.io.File file) throws java.io.IOException
file
- the filejava.io.IOException
public boolean parse(java.net.URL url) throws java.io.IOException
url
- the URLjava.io.IOException
public GraphMLDiagram getDiagram()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence