Skip to content
Permalink
Browse files

errors in code when GraphViz feature is selected is in the right place

  • Loading branch information...
gublan24 committed Feb 27, 2019
1 parent 8b32841 commit 0989450c8d55c08f7680778d8fe0117c3fe39ebd
Showing with 2 additions and 2 deletions.
  1. +1 −1 cruise.umple/src/Generator_CodeGvFeatureDiagram.ump
  2. +1 −1 umpleonline/scripts/umple_action.js
@@ -31,7 +31,7 @@ digraph FeatureModel {
// Template for what is output if there is no feature diagram
nofeatureDiagram <<!
node [shape=plaintext];
message [fixedsize=true label ="No feature found in the umple file." width=4];
message [fixedsize=true label ="No require-statement found in the umple file." width=4];
!>>
emit nofeatureDiagram()(nofeatureDiagram);

@@ -1848,7 +1848,7 @@ Action.getErrorCode = function(responseText)

if(output == "<p>") output = "";
}
else if(Page.useGvClassDiagram || Page.useGvStateDiagram)
else if(Page.useGvClassDiagram || Page.useGvStateDiagram || Page.useGvFeatureDiagram)
{
var miscStuffAndErrorMessages = responseText.split('<svg width=')[0];
var prelimparts = miscStuffAndErrorMessages.split('errorRow');

0 comments on commit 0989450

Please sign in to comment.
You can’t perform that action at this time.