Commit Graph

315 Commits

Author SHA1 Message Date
Nico Rehwaldt 4e5cc064a9 chore(project): update diagram-js
This fixes a text layouting regression.
2014-09-17 09:06:31 +02:00
Nico Rehwaldt 01b03611c4 chore(project): release v0.5.0 2014-09-17 08:19:44 +02:00
Nico Rehwaldt 224c81fdfa chore(project): bump dependency versions 2014-09-17 08:18:42 +02:00
Nico Rehwaldt 36cb6777ce fix(modeling): disallow connection -> startEvent 2014-09-15 16:01:09 +02:00
Nico Rehwaldt c797fec8e2 feat(Modeler): integrate snapping 2014-09-15 16:01:09 +02:00
Nico Rehwaldt 66c7a31d34 chore(label-editing): deselect element during editing 2014-09-15 14:42:43 +02:00
Nico Rehwaldt 4428be4227 fix(draw): render labels as one-liner per default
This is a temporary fix for #113
2014-09-15 14:41:26 +02:00
Nico Rehwaldt 8cc530bf58 feat(modeling): move external labels with nodes
Closes #105
2014-09-11 17:22:59 +02:00
Nico Rehwaldt eaddbb31c4 feat(context-pad): add visual creation of connections
Closes #107
2014-09-11 16:44:56 +02:00
Nico Rehwaldt a1044e2784 fix(label-editing): correctly compute direct-editing bbox
Closes #115
2014-09-09 15:21:21 +02:00
Nico Rehwaldt 0044a51bc5 feat(label-editing): auto hide empty labels
Related to #105
2014-09-09 15:20:30 +02:00
Nico Rehwaldt b5483b2565 chore(importer): attempt optimization 2014-09-08 19:04:18 +02:00
Nico Rehwaldt 179121880f test(bpmn-moddle): create integration test 2014-09-08 19:04:07 +02:00
Nico Rehwaldt 9d16e17c5c fix(labels): correct positioning + hide if empty
This commit improves the label handling by

* showing the label only if it exists
* updating the status accordingly
* positioning the label correctly on import

Related to #113
2014-09-08 19:03:39 +02:00
Nico Rehwaldt d0644c953a feat(modeling): integrate connection repair 2014-09-04 13:47:31 +02:00
Nico Rehwaldt 6f937cf2f3 chore(import): wrap emitted errors / warnings 2014-09-04 13:47:31 +02:00
Nico Rehwaldt 7e5f4eba14 fix(context-pad): make all bpmn elements deletable
Related to #118
2014-09-04 13:47:31 +02:00
Nico Rehwaldt 85150135a6 chore(Viewer): remove unnecessary code 2014-09-04 13:47:31 +02:00
Nico Rehwaldt 680c111cc2 docs(project): add integration tests to setup script 2014-09-03 18:47:45 +02:00
jdotzki e487d6d811 feat(context-pad): add delete button
See #118
2014-08-29 16:03:08 +02:00
Nico Rehwaldt 2c5548423b chore(modeling): remove custom shape.append handler 2014-08-28 17:38:51 +02:00
Nico Rehwaldt a301acc4c4 feat(modeling): integrate connection.move
Related to #125
2014-08-28 16:17:55 +02:00
Nico Rehwaldt 5f986dcb3a test(import): assert correct number of children 2014-08-28 14:27:13 +02:00
Nico Rehwaldt c685c0fcce feat(project): add manhattan style layouting for flows
Related to #48
2014-08-27 16:55:26 +02:00
Nico Rehwaldt 969c882946 fix(context-pad): correct end-event entry sizing 2014-08-27 15:50:40 +02:00
Nico Rehwaldt 5a2c5c425c chore(navigation): move features to diagram-js
This commit moves the navigation features from bpmn-js to diagram-js so
that they can be reused in other modeling / viewer tools.

Related to #124

BREAKING CHANGE:

Navigation features have been moved to diagram-js. If you use them in
custom bundles, update their location accordingly:

bpmn-js/lib/features/movecanvas -> diagram-js/lib/navigation/movecanvas
bpmn-js/lib/features/zoomscroll -> diagram-js/lib/navigation/zoomscroll
bpmn-js/lib/features/touch -> diagram-js/lib/navigation/touch
2014-08-27 15:43:18 +02:00
Nico Rehwaldt 74900412d0 docs(project): remove inline setup script 2014-08-26 11:41:50 +02:00
Nico Rehwaldt e99588429c docs(project): update setup scripts 2014-08-26 11:25:31 +02:00
Nico Rehwaldt 6b2ab71779 docs(project): link setup scripts 2014-08-25 17:58:18 +02:00
Nico Rehwaldt 43ee5f0d16 docs(project): update setup.sh 2014-08-25 17:58:18 +02:00
Nico Rehwaldt 5c2a079307 feat(tests): extract test helper to own module
This commit extracts the test helper utility to its own module.

Use in bpmn-js extensions via

var Helper = require('bpmn-js/test/helper');

This adds the global helper bindings bootstrapModeler/Viewer and inject.
2014-08-25 17:58:18 +02:00
jdotzki 470e0f88ba feat(modeling): update bpmn model on remove
On removeShape/removeConnection the BPMN model is updated accordingly.

related to #106
2014-08-22 15:20:48 +02:00
Nico Rehwaldt 88fbe05ae4 chore(project): remove browserify bundle
Bundling must be done by users of the library in some way anyway.
All those that do not bundle it will use the bower version.

Removing the bundle function to keep the build slim.
2014-08-21 15:34:37 +02:00
Nico Rehwaldt eb77b6c418 docs(project): use npm link during setup 2014-08-19 20:46:28 +02:00
Nico Rehwaldt 3677d171ed docs(project): extract setup.sh 2014-08-19 16:32:04 +02:00
jdotzki 49d0be47d1 test(importer): fix xml id 2014-08-18 13:48:45 +02:00
jdotzki 7e345a348e test(importer): attribute default value
Make sure 'eventGatewayType' get default value if undefined.
2014-08-18 12:38:41 +02:00
jdotzki 3e369dc305 fix(build): remove 'bpmn-js' dependency 2014-08-18 10:47:26 +02:00
Nico Rehwaldt 53dc82349e fix(Viewer): export base layer as SVG only
This commit fixes the SVG export of bpmn-js.

* exports the base layer only (no overlays, no markers)
* assigns correct view box to exported SVG

Related to #97
2014-08-17 19:09:46 +02:00
Nico Rehwaldt c4776f191c fix(draw): correctly fill messages + intermediate events 2014-08-17 19:09:46 +02:00
jdotzki b5ba814952 improve(viewer): clean up SVG before export
Remove outer-marker-bound <rect> from export.

close bpmn-io/bpmn-js#97
2014-08-17 12:17:15 +02:00
jdotzki 63caaeb7f4 fix(draw): data store path
Corrected path fixes transparent background.
See #96
2014-08-15 11:38:45 +02:00
Jörg c103f6863d docs(setup.md): add ids project 2014-08-13 12:38:09 +02:00
Nico Rehwaldt 6be9a9e0e4 test(Modeler): fix overlay expectations 2014-08-12 11:53:38 +02:00
Nico Rehwaldt 5df579bd02 chore(tests): add diagram.css during tests 2014-08-12 11:53:00 +02:00
Nico Rehwaldt aca1ea21e9 docs(project/COMMIT_MESSAGES): update case 2014-08-12 11:13:09 +02:00
Nico Rehwaldt 1c8b0b5f36 docs(project): add windows setup file 2014-08-12 11:03:48 +02:00
Nico Rehwaldt 86d5c20f07 fix(modeling): strip all namespaces for semantic id generation
Related to #108
2014-08-12 11:03:47 +02:00
Nico Rehwaldt b8db4322ab docs(project/COMMIT_MESSAGES): add description 2014-08-12 11:03:47 +02:00
jdotzki 58b9964828 improve(bpmnfactory): add semantic element IDs
The ID will have an semantic prefix: SequenceFlow_6bpz90i

related to bpmn-io/bpmn-js#108
2014-08-11 17:55:54 +02:00