Exemple #1
0
def buildComponentAssetModel(p,cName,graphName):
  assocs = p.componentAssetModel(cName)
  model = AssetModel(assocs.values(),'')
  parser = KaosXDotParser('class',model.graph())
  graph = parser.parse()
  drawGraph(graph,graphName)
  return True
Exemple #2
0
def buildComponentAssetModel(p, cName, graphName):
    assocs = p.componentAssetModel(cName)
    model = AssetModel(assocs.values(), '')
    parser = KaosXDotParser('class', model.graph())
    graph = parser.parse()
    drawGraph(graph, graphName)
    return True
Exemple #3
0
def buildComponentAssetModel(p,cName,graphName):
  from cairis.gui.kaosxdot import KaosXDotParser
  from cairis.gui.AssetModel import AssetModel
  assocs = p.componentAssetModel(cName)
  model = AssetModel(assocs.values(),'')
  parser = KaosXDotParser('class',model.graph())
  graph = parser.parse()
  drawGraph(graph,graphName)
  return True