I
InsightNexus

Graph (Azure SDK for Java Reference Documentation)

Author

Jessica Wood

Published Feb 16, 2026

Graph (Azure SDK for Java Reference Documentation)
  • java.lang.Object
    • com.azure.resourcemanager.resources.fluentcore.dag.Graph<DataT,NodeT>
  • Type Parameters:
    DataT - the type of the data stored in the graph's nodes
    NodeT - the type of the nodes in the graph
    Direct Known Subclasses:
    DAGraph

    public class Graph<DataT,NodeT extends Node<DataT,NodeT>>extends Object
    Type representing a directed graph data structure.

    Each node in a graph is represented by Node

    • Nested Class Summary

      Nested Classes 
      Modifier and TypeClass and Description
      protected static class Graph.EdgeType

      The edge types in a graph.

      protected static interface Graph.Visitor<U>

      Represents a visitor to be implemented by the consumer who want to visit the graph's nodes in DFS order by calling visit method.

    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor and Description
      Graph()

      Creates a directed graph.

    • Field Detail

    • Constructor Detail

    • Method Detail

      • addNode

        public void addNode(NodeT node)

        Adds a node to this graph.

        Parameters:
        node - the node

Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.