This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Attribute - replace string | |
// | |
// (c) 2019 David GERARD | |
// | |
// Search and replace a string for one or many concepts attributes (name, documentation) | |
// | |
// Roadmap: | |
// - when using Regex, implement global replacement if multiple occurences | |
// - when the replacementString is a Regex, some corrections and improvment still needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Link concept to View | |
// | |
// 2020 David GERARD | |
// | |
// For selected concept in view, search the model for a view with the same name. | |
// If found, | |
// - create a .createViewReference() positioned in the upperleft corner of the concept, pointing to the view with the same name | |
// - create a .createViewReference() positioned in the upperleft corner of the view with the same name, point to the view holding the selected concept | |
// Quite useful to describe process and subprocesses, and especially with the HTML export |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Generate diagram legend | |
// | |
// 2020 David GERARD | |
// | |
// For a selected view, create a group named 'Legend', in which will be nested for each concepts type found in view | |
// - a concept, specifically sized to show the pictogram | |
// - a note, to be used to name or explain the concept specifically in the view, hence preventing to rename the concept | |
// That way, | |
// - a model will be a bit polluted but with a specific set of concepts, for legend purpose, prefixed so easily identifiable |