How do I represent a graph data-type in a class diagram
Class Diagram: http://www.uml-diagrams.org/class-diagrams.html
Do I have to specify how graph data-type is implemented? Or is there a symbol to denote a graph?
How do I represent a graph data-type in a class diagram
Class Diagram: http://www.uml-diagrams.org/class-diagrams.html
Do I have to specify how graph data-type is implemented? Or is there a symbol to denote a graph?
UML itself includes diagrams that are graphs (state machine diagrams, activity diagrams) but will not provide what you are expecting.
UML is originally conceived for object-oriented programming, not programming in general. It will allow you to represent object-oriented features, not general programming features (as graphs are not object-oriented features).
So you will be able to represent a Graph class as a class, not as a graph data type. Graph are abstract data types, it is up to the programmer to implement (it will be highly related to the way you are programming, you can manage graphs without OOP).