-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add tools to select edges by arrow-shapes, line-color and line-style #340
base: develop
Are you sure you want to change the base?
Conversation
Thanks for this contribution, @HitRam. Adding selection by line style will also be valuable. Please implement this selection criterion. |
@tmmurali, I also implemented selection by line-style. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I requested few changes.
static/js/graphs_page.js
Outdated
@@ -1332,6 +1332,9 @@ var graphPage = { | |||
original_opacity: {}, | |||
undoRedoManager: null, | |||
init: function () { | |||
cytoscapeGraph.hideGraphInformation(graphPage.cyGraph); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to hide and show graph information?
static/js/graphs_page.js
Outdated
@@ -2736,6 +2862,7 @@ var cytoscapeGraph = { | |||
/* | |||
Function to Show information about the graph that the layout editor hid from the users. | |||
*/ | |||
console.log(cy.style().selector('node')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah sure! Actually I was initially making changes on master branch and these lines were already there.
static/js/graphs_page.js
Outdated
@@ -1708,6 +1832,8 @@ var graphPage = { | |||
}); | |||
|
|||
$('#nodeLabel').on('input', function (e) { | |||
console.log(!_.isEmpty($('#nodeLabel').val())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment out the console log.
@adbharadwaj I have changed as requested. Initially I was making changes in master branch and those logs were already there so didn't notice while switching the branches. |
I have added tools to select edges by arrow-shapes and line-color.
Should I also add an option to select it by line-style?
This PR refers to #308