Skip to content
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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

HitRam
Copy link
Contributor

@HitRam HitRam commented Feb 2, 2018

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

@HitRam HitRam closed this Feb 2, 2018
@HitRam HitRam changed the base branch from master to develop February 2, 2018 06:54
@HitRam HitRam reopened this Feb 2, 2018
@tmmurali
Copy link
Member

tmmurali commented Feb 2, 2018

Thanks for this contribution, @HitRam. Adding selection by line style will also be valuable. Please implement this selection criterion.

@HitRam HitRam changed the title Add tools to select edges by arrow-shapes and line-color. Add tools to select edges by arrow-shapes, line-color and line-style Feb 3, 2018
@HitRam
Copy link
Contributor Author

HitRam commented Feb 3, 2018

@tmmurali, I also implemented selection by line-style.

Copy link
Collaborator

@adbharadwaj adbharadwaj left a 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.

@@ -1332,6 +1332,9 @@ var graphPage = {
original_opacity: {},
undoRedoManager: null,
init: function () {
cytoscapeGraph.hideGraphInformation(graphPage.cyGraph);
Copy link
Collaborator

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?

@@ -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'));
Copy link
Collaborator

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.

Copy link
Contributor Author

@HitRam HitRam Feb 8, 2018

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.

@@ -1708,6 +1832,8 @@ var graphPage = {
});

$('#nodeLabel').on('input', function (e) {
console.log(!_.isEmpty($('#nodeLabel').val()));
Copy link
Collaborator

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.

@HitRam
Copy link
Contributor Author

HitRam commented Feb 8, 2018

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants