Skip to content

Add tools to select edges by arrow-shapes, line-color and line-style#340

Open
HitRam wants to merge 1 commit into
Murali-group:developfrom
HitRam:e#308
Open

Add tools to select edges by arrow-shapes, line-color and line-style#340
HitRam wants to merge 1 commit into
Murali-group:developfrom
HitRam:e#308

Conversation

@HitRam

@HitRam HitRam commented Feb 2, 2018

Copy link
Copy Markdown
Contributor

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

tmmurali commented Feb 2, 2018

Copy link
Copy Markdown
Member

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

HitRam commented Feb 3, 2018

Copy link
Copy Markdown
Contributor Author

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

@adbharadwaj adbharadwaj left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I requested few changes.

Comment thread static/js/graphs_page.js Outdated
original_opacity: {},
undoRedoManager: null,
init: function () {
cytoscapeGraph.hideGraphInformation(graphPage.cyGraph);

Copy link
Copy Markdown
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?

Comment thread static/js/graphs_page.js Outdated
/*
Function to Show information about the graph that the layout editor hid from the users.
*/
console.log(cy.style().selector('node'));

Copy link
Copy Markdown
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.

@HitRam HitRam Feb 8, 2018

Copy link
Copy Markdown
Contributor Author

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.

Comment thread static/js/graphs_page.js Outdated
});

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

Copy link
Copy Markdown
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

HitRam commented Feb 8, 2018

Copy link
Copy Markdown
Contributor Author

@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