Skip to content

Commit

Permalink
Fix #427
Browse files Browse the repository at this point in the history
  • Loading branch information
failys committed Aug 5, 2019
1 parent 19feb09 commit 54b9f11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cairis/misc/KaosModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ def buildGoalModel(self,isComponent=False):
self.theGraph.add_node(pydot.Node(refNodeName,shapefile=conflictFile,margin=0,label='',height='.1',width='.1',peripheries='0'))
assocDirection = 'none'
arrowHead = 'none'
elif((goalDimName == 'requirement') and (subGoalDimName == 'usecase')):
self.theGraph.add_node(pydot.Node(refNodeName,shape='circle',label=' ',height='.2',width='.2'))
goalEdge = pydot.Edge(refNodeName,goalName,dir=assocDirection,arrowhead=arrowHead,weight='1')
if ((refNodeName,goalName) not in edgeSet):
self.theGraph.add_edge(goalEdge)
Expand Down

0 comments on commit 54b9f11

Please sign in to comment.