camunda.process.diagram's People
camunda.process.diagram's Issues
Where should I put bootstrap.css?
Hi,
In the project, I don't see bootstrap.css. Where is it?
Best,
Huiying
what does the third para of method "doAnnotate" do?
Hi,
Sorry to bother you again. Now my tool works much better than before. However I still have one question which is described in the title. The naming like "label-success" and "label-primary" are arbitrary or not?
How to define variable in a nested for loop where $http.get is invoked?
Hi,
here is my code, where three nested for-loops are defined. The problem is I am not sure how to define the variable list to get the right result. In my code list is defined under $scope, but it doesn't delive the right result. Before this, I also tried var list = "", which does not work as well. I am not familiar with the angularjs concepts. I hope you can help me out here.
//for all the process instances
for(var i=0; i< pidList.length; ++i){
$http.get('/engine-rest/engine/' + $scope.engine + '/history/activity-instance?processInstanceId=' + pidList[i]).success(function(data) {
$scope.activities = data;
$scope.ids.push(data.activityId);
childActivities($scope.ids, data);
}).then(function() {
//retrieve all the process instances again
angular.forEach($scope.activities, function(value,key){
$scope.list = '';
var num = 0;
var number = 0;
var id = "";
for(var j=0; j< pidList.length; ++j){
id = pidList[j];
$http.get('/engine-rest/engine/' + $scope.engine + '/history/activity-instance/count?processInstanceId=' + pidList[j]+ '&activityId=' + value.activityId).success(function(data) {
number += data.count;
if(data.count > 0){
if(num > 0){
$scope.list += "-";
}
$scope.list += id;
num++;
}
doAnnotate(value.activityId, number, 'label-primary', ['highlight'], popoverContent(value, $scope.list));
});
}
});
});
}
The popoverContent do not show any details
Well the function popoverContent is used. The expected effect is that when the node is clicked, the information about this node like the activity name and start time will be pop-up. However the actual result is the pop-up windows is shown but only with a title without content. What could be the problem?
Is that possible to color the transitions?
Hi,
Is that possible?
best,
Huiying
How to find the activities which are not covered by a process instance?
Is that possible to achieve that?
How to color different nodes?
Hi Zerounix,
I try to use this project to render a bpmn 2.0 process. But I don't know how to draw different colors. Can you help me out?
Best,
Huiying
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.