Doxygen erstellt Graphen nicht



  • In der Detailansicht (HTML) meiner Klassen fehlen die Inheritance und Collaboration Graphs. (Es das png ist zwar als <img> eingebunden, wird aber nicht gefunden)

    Doxyfile:

    #---------------------------------------------------------------------------
    # Configuration options related to the dot tool   
    #---------------------------------------------------------------------------
    
    # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will 
    # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base 
    # or super classes. Setting the tag to NO turns the diagrams off. Note that 
    # this option is superseded by the HAVE_DOT option below. This is only a 
    # fallback. It is recommended to install and use dot, since it yields more 
    # powerful graphs.
    
    CLASS_DIAGRAMS         = YES
    
    # You can define message sequence charts within doxygen comments using the \msc 
    # command. Doxygen will then run the mscgen tool (see http://www.mcternan.me.uk/mscgen/) to 
    # produce the chart and insert it in the documentation. The MSCGEN_PATH tag allows you to 
    # specify the directory where the mscgen tool resides. If left empty the tool is assumed to 
    # be found in the default search path.
    
    MSCGEN_PATH            = 
    
    # If set to YES, the inheritance and collaboration graphs will hide 
    # inheritance and usage relations if the target is undocumented 
    # or is not a class.
    
    HIDE_UNDOC_RELATIONS   = YES
    
    # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is 
    # available from the path. This tool is part of Graphviz, a graph visualization 
    # toolkit from AT&T and Lucent Bell Labs. The other options in this section 
    # have no effect if this option is set to NO (the default)
    
    HAVE_DOT               = YES
    
    # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen 
    # will generate a graph for each documented class showing the direct and 
    # indirect inheritance relations. Setting this tag to YES will force the 
    # the CLASS_DIAGRAMS tag to NO.
    
    CLASS_GRAPH            = YES
    
    # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen 
    # will generate a graph for each documented class showing the direct and 
    # indirect implementation dependencies (inheritance, containment, and 
    # class references variables) of the class with other documented classes.
    
    COLLABORATION_GRAPH    = YES
    
    # If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen 
    # will generate a graph for groups, showing the direct groups dependencies
    
    GROUP_GRAPHS           = YES
    
    # If the UML_LOOK tag is set to YES doxygen will generate inheritance and 
    # collaboration diagrams in a style similar to the OMG's Unified Modeling 
    # Language.
    
    UML_LOOK               = NO
    
    # If set to YES, the inheritance and collaboration graphs will show the 
    # relations between templates and their instances.
    
    TEMPLATE_RELATIONS     = NO
    
    # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT 
    # tags are set to YES then doxygen will generate a graph for each documented 
    # file showing the direct and indirect include dependencies of the file with 
    # other documented files.
    
    INCLUDE_GRAPH          = YES
    
    # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and 
    # HAVE_DOT tags are set to YES then doxygen will generate a graph for each 
    # documented header file showing the documented files that directly or 
    # indirectly include this file.
    
    INCLUDED_BY_GRAPH      = YES
    
    # If the CALL_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will 
    # generate a call dependency graph for every global function or class method. 
    # Note that enabling this option will significantly increase the time of a run. 
    # So in most cases it will be better to enable call graphs for selected 
    # functions only using the \callgraph command.
    
    CALL_GRAPH             = NO
    
    # If the CALLER_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will 
    # generate a caller dependency graph for every global function or class method. 
    # Note that enabling this option will significantly increase the time of a run. 
    # So in most cases it will be better to enable caller graphs for selected 
    # functions only using the \callergraph command.
    
    CALLER_GRAPH           = NO
    
    # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen 
    # will graphical hierarchy of all classes instead of a textual one.
    
    GRAPHICAL_HIERARCHY    = YES
    
    # If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES 
    # then doxygen will show the dependencies a directory has on other directories 
    # in a graphical way. The dependency relations are determined by the #include
    # relations between the files in the directories.
    
    DIRECTORY_GRAPH        = YES
    
    # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images 
    # generated by dot. Possible values are png, jpg, or gif
    # If left blank png will be used.
    
    DOT_IMAGE_FORMAT       = png
    
    # The tag DOT_PATH can be used to specify the path where the dot tool can be 
    # found. If left blank, it is assumed the dot tool can be found in the path.
    
    DOT_PATH               = 
    
    # The DOTFILE_DIRS tag can be used to specify one or more directories that 
    # contain dot files that are included in the documentation (see the 
    # \dotfile command).
    
    DOTFILE_DIRS           = 
    
    # The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of 
    # nodes that will be shown in the graph. If the number of nodes in a graph 
    # becomes larger than this value, doxygen will truncate the graph, which is 
    # visualized by representing a node as a red box. Note that doxygen if the number 
    # of direct children of the root node in a graph is already larger than 
    # MAX_DOT_GRAPH_NOTES then the graph will not be shown at all. Also note 
    # that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
    
    DOT_GRAPH_MAX_NODES    = 50
    
    # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the 
    # graphs generated by dot. A depth value of 3 means that only nodes reachable 
    # from the root by following a path via at most 3 edges will be shown. Nodes 
    # that lay further from the root node will be omitted. Note that setting this 
    # option to 1 or 2 may greatly reduce the computation time needed for large 
    # code bases. Also note that the size of a graph can be further restricted by 
    # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
    
    MAX_DOT_GRAPH_DEPTH    = 1000
    
    # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent 
    # background. This is disabled by default, which results in a white background. 
    # Warning: Depending on the platform used, enabling this option may lead to 
    # badly anti-aliased labels on the edges of a graph (i.e. they become hard to 
    # read).
    
    DOT_TRANSPARENT        = NO
    
    # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output 
    # files in one run (i.e. multiple -o and -T options on the command line). This 
    # makes dot run faster, but since only newer versions of dot (>1.8.10) 
    # support this, this feature is disabled by default.
    
    DOT_MULTI_TARGETS      = NO
    
    # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will 
    # generate a legend page explaining the meaning of the various boxes and 
    # arrows in the dot generated graphs.
    
    GENERATE_LEGEND        = YES
    
    # If the DOT_CLEANUP tag is set to YES (the default) Doxygen will 
    # remove the intermediate dot files that are used to generate 
    # the various graphs.
    
    DOT_CLEANUP            = NO
    

    Was muss ich da noch ändern?

    EDIT://
    Doxygen 1.5.4 (Linux-Binaries von der Website) _nicht_ installiert, wird über Pfadangabe gestartet

    EDIT://
    Tya wenn doxygen nicht installiert ist muss man den Pfad wohl manuell angeben ...
    Kaum gepostet



  • Hast du Graphviz installiert? Doxygen generiert die Grafiken nichts selbst sondern verwendet Dot (Teil von Graphviz).



  • Ja Graphviz ist installiert - das Problem war, dass Doxygen 1.5.4 nicht im Pfad nach dot sucht, jedenfalls nicht, wenn Doxygen nicht installiert (make install) ist.

    DOT_PATH setzen löst das Problem dann


Anmelden zum Antworten