---
name: "GMLGraphBuilder"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/GMLGraphBuilder"
---

# GMLGraphBuilder(3tulip)

## NAME

GMLGraphBuilder -

## SYNOPSIS

Inherits **GMLTrue**.

### Public Member Functions

virtual **~GMLGraphBuilder** ()\
 **GMLGraphBuilder** (Graph \*graph)\
 bool **addNode** (int id)\
 edge **addEdge** (int idSource, int idTarget)\
 bool **setNodeValue** (int nodeId, const string propertyName, string value)\
 bool **setNodeValue** (int nodeId, const string propertyName, double value)\
 bool **setNodeValue** (int nodeId, const string propertyName, int value)\
 bool **setNodeValue** (int nodeId, const string propertyName, bool value)\
 bool **setNodeValue** (int nodeId, const string propertyName, Coord value)\
 bool **setNodeValue** (int nodeId, const string propertyName, Size value)\
 bool **setNodeValue** (int nodeId, const string propertyName, Color value)\
 bool **setEdgeValue** (edge e, const string &propertyName, string value)\
 bool **setEdgeValue** (edge e, const string &propertyName, int value)\
 bool **setEdgeValue** (edge e, const string &propertyName, bool value)\
 bool **setEdgeValue** (edge e, const string &propertyName, double value)\
 void **setEdgeValue** (edge e, const LineType::RealType &lCoord)\
 bool **setAllNodeValue** (const string propertyType, const string propertyName, string value)\
 bool **setAllEdgeValue** (const string &propertyType, const string &propertyName, string value)\
 bool **addStruct** (const string &structName, **GMLBuilder** \*&newBuilder)\

### Public Attributes

Graph \* **\_graph**\
 map\< int, node \> **nodeIndex**\

## Constructor & Destructor Documentation

### virtual GMLGraphBuilder::~GMLGraphBuilder ()` [inline, virtual]`

### GMLGraphBuilder::GMLGraphBuilder (Graph \* graph)` [inline]`

## Member Function Documentation

### edge GMLGraphBuilder::addEdge (int idSource, int idTarget)` [inline]`

### bool GMLGraphBuilder::addNode (int id)` [inline]`

### bool GMLGraphBuilder::addStruct (const string & structName, GMLBuilder \*& newBuilder)

### bool GMLGraphBuilder::setAllEdgeValue (const string & propertyType, const string & propertyName, string value)` [inline]`

### bool GMLGraphBuilder::setAllNodeValue (const string propertyType, const string propertyName, string value)` [inline]`

### void GMLGraphBuilder::setEdgeValue (edge e, const LineType::RealType & lCoord)` [inline]`

### bool GMLGraphBuilder::setEdgeValue (edge e, const string & propertyName, double value)` [inline]`

### bool GMLGraphBuilder::setEdgeValue (edge e, const string & propertyName, bool value)` [inline]`

### bool GMLGraphBuilder::setEdgeValue (edge e, const string & propertyName, int value)` [inline]`

### bool GMLGraphBuilder::setEdgeValue (edge e, const string & propertyName, string value)` [inline]`

### bool GMLGraphBuilder::setNodeValue (int nodeId, const string propertyName, Color value)` [inline]`

### bool GMLGraphBuilder::setNodeValue (int nodeId, const string propertyName, Size value)` [inline]`

### bool GMLGraphBuilder::setNodeValue (int nodeId, const string propertyName, Coord value)` [inline]`

### bool GMLGraphBuilder::setNodeValue (int nodeId, const string propertyName, bool value)` [inline]`

### bool GMLGraphBuilder::setNodeValue (int nodeId, const string propertyName, int value)` [inline]`

### bool GMLGraphBuilder::setNodeValue (int nodeId, const string propertyName, double value)` [inline]`

### bool GMLGraphBuilder::setNodeValue (int nodeId, const string propertyName, string value)` [inline]`

## Member Data Documentation

### Graph\* GMLGraphBuilder::\_graph

### map\<int,node\> GMLGraphBuilder::nodeIndex

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
