#include <dotgenerator.h>
◆ DotGenerator()
      
        
          | DotGenerator::DotGenerator | ( |  | ) |  | 
      
 
 
◆ availableConfigFiles()
  
  | 
        
          | bool DotGenerator::availableConfigFiles | ( | UMLScene * | scene, |  
          |  |  | QHash< QString, QString > & | configFiles ) |  | static | 
 
Return a list of available templates for a given scene type
- Parameters
- 
  
    | scene | The diagram |  | configFiles | will contain the collected list of config files |  
 
- Returns
- true if collecting succeeds 
 
 
◆ createDotFile()
      
        
          | bool DotGenerator::createDotFile | ( | UMLScene * | scene, | 
        
          |  |  | const QString & | fileName, | 
        
          |  |  | const QString & | variant = QStringLiteral("default") ) | 
      
 
Create dot file using displayed widgets and associations of the provided scene 
- Note
- This method could also be used as a base to export diagrams as dot file
- Parameters
- 
  
    | scene | The diagram from which the widget information is fetched |  | fileName | Filename where to create the dot file |  | variant | Variant string passed to readConfigFile() |  
 
- Returns
- true if generating finished successfully 
 
 
◆ currentDotPath()
  
  | 
        
          | QString DotGenerator::currentDotPath | ( |  | ) |  |  | static | 
 
Return the path where dot is installed.
- Returns
- string with dot path 
 
 
◆ findItem()
  
  | 
        
          | bool DotGenerator::findItem | ( | QStringList & | params, |  
          |  |  | const QString & | search ) |  | protected | 
 
Find string starting with the search string in string list 
- Parameters
- 
  
    | params | string list to search in |  | search | string |  
 
- Returns
- true when search string has been found 
 
 
◆ fixID()
  
  | 
        
          | QString DotGenerator::fixID | ( | const QString & | _id | ) |  |  | protected | 
 
There are id wrapped with '"', remove it. 
 
 
◆ generatorFullPath()
      
        
          | QString DotGenerator::generatorFullPath | ( |  | ) | const | 
      
 
 
◆ generatorVersion()
  
  | 
        
          | int DotGenerator::generatorVersion | ( |  | ) | const |  | protected | 
 
get generator version 
- Returns
- version for example 20130928 
 
 
◆ readConfigFile()
      
        
          | bool DotGenerator::readConfigFile | ( | QString | diagramType, | 
        
          |  |  | const QString & | variant = QStringLiteral("default") ) | 
      
 
Read a layout config file
- Parameters
- 
  
    | diagramType | String identifying the diagram |  | variant | String identifying the variant |  
 
- Returns
- true on success 
 
 
◆ setGeneratorName()
      
        
          | void DotGenerator::setGeneratorName | ( | const QString & | name | ) |  | 
      
 
 
◆ setUseFullNodeLabels()
      
        
          | void DotGenerator::setUseFullNodeLabels | ( | bool | state | ) |  | 
      
 
Set usage of full node labels. When set to true labels are extracted from the text output generated by the widget's paint method.
- Parameters
- 
  
  
 
 
◆ setUsePosition()
      
        
          | void DotGenerator::setUsePosition | ( | bool | state | ) |  | 
      
 
set usage of position attribute in dot file
- Parameters
- 
  
  
 
 
◆ useFullNodeLabels()
      
        
          | bool DotGenerator::useFullNodeLabels | ( |  | ) | const | 
      
 
return usage of full node labels
- Returns
- true if position are used 
 
 
◆ usePosition()
      
        
          | bool DotGenerator::usePosition | ( |  | ) | const | 
      
 
return usage of position attribute
- Returns
- true if position are used 
 
 
◆ operator<<
◆ m_configFileName
  
  | 
        
          | QString DotGenerator::m_configFileName |  | protected | 
 
 
◆ m_dotParameters
  
  | 
        
          | QHash<QString, QString> DotGenerator::m_dotParameters |  | protected | 
 
contains global graph parameters 
 
 
◆ m_dotPath
  
  | 
        
          | QString DotGenerator::m_dotPath |  | protected | 
 
contains path to generator executable 
 
 
◆ m_edgeParameters
  
  | 
        
          | QHash<QString, QString> DotGenerator::m_edgeParameters |  | protected | 
 
contains global edge parameters 
 
 
◆ m_generator
  
  | 
        
          | QString DotGenerator::m_generator |  | protected | 
 
name of graphviz generator 
 
 
◆ m_nodeParameters
  
  | 
        
          | QHash<QString, QString> DotGenerator::m_nodeParameters |  | protected | 
 
contains global node parameters 
 
 
◆ m_origin
  
  | 
        
          | QPointF DotGenerator::m_origin |  | protected | 
 
 
◆ m_scale
  
  | 
        
          | double DotGenerator::m_scale |  | protected | 
 
 
◆ m_useFullNodeLabels
  
  | 
        
          | bool DotGenerator::m_useFullNodeLabels |  | protected | 
 
 
◆ m_usePosition
  
  | 
        
          | bool DotGenerator::m_usePosition |  | protected | 
 
use position tag from dot (not used yet) 
 
 
◆ m_version
  
  | 
        
          | int DotGenerator::m_version {0} |  | protected | 
 
version of graphviz generator 
 
 
The documentation for this class was generated from the following files: