New idea: jArchi-utils: helpers for working outside the Archi context

Started by 5-tom, May 10, 2024, 18:01:59 PM

Previous topic - Next topic

5-tom

Hey,

I'm interested in developing a utilities package for when I want to use jArchi in a pure JavaScript context. I've created 2 functions so far: isAllowedRelationship and findAllowedRelationships

https://www.npmjs.com/package/jarchi-utils

I'd love to know if jArchi users like the idea and what utilities would be helpful to them

Phil Beauvoir

Hi Tom,

thanks for sharing. I wonder if your "isAllowedRelationship" is already taken care of in jArchi itself - https://github.com/archimatetool/archi-scripting-plugin/wiki/Model-Functions#isallowedrelationship - or are you trying to achieve this without a dependency on jArchi?

Phil
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

5-tom

Quote from: Phil Beauvoir on May 10, 2024, 18:08:11 PMHi Tom,

thanks for sharing. I wonder if your "isAllowedRelationship" is already taken care of in jArchi itself - https://github.com/archimatetool/archi-scripting-plugin/wiki/Model-Functions#isallowedrelationship - or are you trying to achieve this without a dependency on jArchi?

Phil

Yeah, the function in the package should behave exactly like the jArchi version - it's just that it doesn't depend on Archi, so it can be used in any runtime. It's like a re-implementation of jArchi but without the tether to the program itself.