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
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
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