org.apache.struts2.sitegraph.model

## Class Graph

- java.lang.Object
- - org.apache.struts2.sitegraph.model.SubGraph
  - - org.apache.struts2.sitegraph.model.Graph

- All Implemented Interfaces:
    Render

      public class Graph
      extends SubGraph

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Map<String,SiteGraphNode>` | `nodeMap`

    - ### Fields inherited from class org.apache.struts2.sitegraph.model.SubGraph

      `name, nodes, parent, subGraphs`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Graph()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addLink(Link link)`
    `SiteGraphNode` | `findNode(String location, SiteGraphNode ref)`
    `void` | `render(IndentWriter writer)`

    - ### Methods inherited from class org.apache.struts2.sitegraph.model.SubGraph

      `addNode, addSubGraph, create, getName, getPrefix, setParent`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### nodeMap

          public static Map<String,SiteGraphNode> nodeMap

  - ### Constructor Detail

    - #### Graph

          public Graph()

  - ### Method Detail

    - #### addLink

          public void addLink(Link link)

    - #### render

          public void render(IndentWriter writer)
                      throws IOException

      Specified by:
        `render` in interface `Render`
      Overrides:
        `render` in class `SubGraph`
      Throws:
        `IOException`

    - #### findNode

          public SiteGraphNode findNode(String location,
                                        SiteGraphNode ref)

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.