Project

General

Profile

1
<g  ng-click="funct()" ng-class="{ 
2
	'graphStartNode'   : type == 'start',
3
	'graphSimpleNode'  : type == 'normal',
4
	'graphJoinNode'    : type == 'join',
5
	'graphSuccessNode' : type == 'success'
6
}">
7
	<rect ng-attr-x="{{x}}" ng-attr-y="{{y}}" rx="8" ry="8" width="180" height="50"/>
8
	<text ng-attr-x="{{x*1 + 90}}" ng-attr-y="{{y*1 + 30}}">{{name}}</text>
9
	<text ng-attr-x="{{x*1 + 90}}" ng-attr-y="{{y*1 + 44}}" class="small" ng-if="classType">{{classType}}</text>
10
</g>
(13-13/17)