Decision Management - with DMN, Decision Model and Notation

some sort of management decision tool, but seems simple enough for what I want.

http://jtonedm.com/2016/11/04/bbc-2016-bpmn-cmmn-dmn-the-standards-every-ba-should-be-aware-of/

my notes from a week ago: /home/wendell/cssi/notes_diagram_sw.txt

I wonder if this is going to be open-source or proprietary?:

https://bpmn.io/

https://bpmn.io/toolkit/dmn-js/

tryout of sample code

following instructions from: https://bpmn.io/toolkit/dmn-js/download/

    cd vue_demo
    mkdir dmn
    cd dmn
    <get examples from above page>
    $ unzip dmn-js-examples-master.zip

zip is here: /home/wendell/vue_demo/dmn/dmn-js-examples-master/starter

    $ cd webapps/staticserver/
    $ mkdir dmn
    $ cd dmn/
    $ cp ~/vue_demo/dmn/dmn-js-examples-master/starter/* .

and this site shows a static page: https://tiles.ilikecarrots.com/dmn/viewer.html

and this page shows an editor: https://tiles.ilikecarrots.com/dmn/modeler.html

looks ok, let's proceed to Vue...

https://github.com/bpmn-io/vue-bpmn

Hmm..., it looks like the only one [bpmn, dmn, cmmn] available in Vue is the bpmn one, so here goes:

main github: https://github.com/bpmn-io/vue-bpmn

example: https://github.com/bpmn-io/vue-bpmn/tree/master/example

    $ cd /home/wendell/vue_demo/dmn
    $ git clone https://github.com/bpmn-io/vue-bpmn.git

I think this is how to "initialize" a node/npm project by installing everything necessary:

    $ cd vue-bpmn
    $ node --max-old-space-size=460 `which npm` install

hmm..., no 'build' script

21:36:26 vue-bpmn $ npm install @vue/cli-service

vim package.json "build": "vue-cli-service build"

21:40:43 vue-bpmn $ npm run-script build npm install --save bpmn-js/dist/bpmn-navigated-viewer.production.min.js

21:56:01 myown $ mkdir /home/wendell/webapps/staticserver/dmn2/ 21:56:26 myown $ cp -R dist/^C 21:56:37 myown $ cp -R dist/* /home/wendell/webapps/staticserver/dmn2/

like doit.sh

22:27:33 git_repo $ git clone https://github.com/bpmn-io/bpmn-js.git 22:27:33 git_repo $ cd bpmn-js 22:27:33 git_repo $ npm install 22:27:33 git_repo $ install npm run all

nope.

Q: did I ever do this?

22:37:07 myown $ npm install vue-bpmn

Apparently not, now I have the indicated file!

22:40:52 node_modules $ mkdir -p vue-bpmn/dist

22:39:59 myown $ cp node_modules/vue-bpmn/dist/vue-bpmn.umd.js ~/webapps/staticserver/node_modules/vue-bpmn/dist/

22:43:00 staticserver $ mkdir public 22:42:53 dmn $ cp vue-bpmn/example/public/diagram.bpmn ~/webapps/staticserver/public/

It successfully showed a LAME diagram; no editor!!

the only one that worked: https://tiles.ilikecarrots.com/dmn/modeler.html

(and that was before those other libs were loaded)

refs

forum (hardly used): https://forum.bpmn.io/t/bpmn-js-with-vue/2608/10

chinese example: https://github.com/LiaPig/vue-bpmn-demo2

some other example: https://github.com/KotskinKotskin/camunda-excamad/blob/master/src/components/Diagram.vue

refs

made a cp -r of myown to myown2 and replaced App.vue with this:

https://github.com/KotskinKotskin/camunda-excamad/blob/master/src/components/Diagram.vue

bunches of errors

22:54:04 myown2 $ npm install bpmn-js 23:24:40 myown2 $ npm install vue-bpmn

NOPE. Let's re-try that:

23:28:40 dmn $ mkdir kotskin 23:28:55 dmn $ cd kotskin/ 23:28:57 kotskin $ git clone https://github.com/KotskinKotskin/camunda-excamad.git 23:30:06 kotskin $ cd camunda-excamad/ 23:30:09 camunda-excamad $ npm install

fill src/config/settings.js with own value ???

> bootstrap-vue@2.7.0 postinstall /home/wendell/vue_demo/dmn/kotskin/camunda-excamad/node_modules/bootstrap-vue
> opencollective || exit 0


                          ;iiiiiiiiiiSSSSSSSSiiiiiiiiii;
                          .rXXXXXXXXXrrrrrrrSXXXXXXXXXr.
                          :iXXXXXXXX2. ;;;;, r3XXXXXXXi;
                         ,rSSSSSXXXX2..sSSi: r3XXXSSSSSr,
                          ,siiiiS2XX2. :;;:,.rXX2Siiiis,
                           ,riiiii2X2..5XXXi .22iiiiir,
                            .riiiii22..::::,,r2iiiiir.
                             .riiiii5SSiiiiS22iiiiir.
                               ;iiiii5X3333X5iiiii;
                                :iiiiiSXXXXSiiiii:
                                 :siiiiSXXSiiiis:
                                  ,siiiiiiiiiis,
                                   .riiiiiiiir.
                                    .riiiiiir.
                                     .;iiii;.
                                       ;ii;
                                        ::

                      Thanks for installing bootstrap-vue 🙏
                 Please consider donating to our open collective
                        to help us maintain this package.

23:32:33 camunda-excamad $ vim src/config/settings.js 23:33:01 camunda-excamad $ npm run build

23:36:16 staticserver $ mkdir dmn5 23:36:20 staticserver $ cd dmn5 23:36:24 dmn5 $ cp -R /home/wendell/vue_demo/dmn/kotskin/camunda-excamad/dist/* . 23:36:43 dmn5 $

23:37:53 camunda-excamad $ cp dist/js/* /home/wendell/webapps/staticserver/js