-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter empty requirements #23
Comments
🤖 Hello @eosti, Nice to meet you! I'm Dosu, an automated bot here to help you with your issues and inquiries related to the tree-visualizer repository. While waiting for a human maintainer, I'll be here to assist you. Rest assured, I'm currently looking into your issue and will provide you with a detailed answer shortly. |
🤖 Hello @eosti, Nice to meet you! I'm Dosu, an AI bot here to assist with bugs, answer your questions, and guide you on becoming an effective contributor. While we're waiting for a human maintainer, I'm here to help. Let's get started with your issue! Sure, it's possible to implement a feature to automatically filter out requirements with no name in the tree-visualizer. This can be achieved by modifying the ngOnChanges(changes: SimpleChanges) {
const visibleList = changes["visibleList"].currentValue;
this.diagram.nodes.each(node => {
node.visible = visibleList.includes(node.data.id) && node.data.title !== '';
})
} In this code, As for the current method used to display the nodes, the tree-visualizer uses the GoJS library. The nodes are displayed using a Diagram object from GoJS, which is assigned to the You can find more details about this in the OrgChartComponent file in the repository. Please let me know if you need further assistance or clarification. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
The text was updated successfully, but these errors were encountered: