Skip to content

Circle Packing#117

Open
houxinli wants to merge 29 commits into
masterfrom
pack
Open

Circle Packing#117
houxinli wants to merge 29 commits into
masterfrom
pack

Conversation

@houxinli
Copy link
Copy Markdown
Collaborator

@houxinli houxinli commented Sep 10, 2019

Circle Packing

list of modifications:

this is a demo using the word frequency data set:
Alt Text
This is the first pull request of hierarchical templates, and it was derived from a very old code base, many files have been changed. Thank you for any comments, criticism and discussion!

@tracyhenry
Copy link
Copy Markdown
Owner

Thanks Xinli.

A quick question: does this include treemap? Also, can you include in the PR body a GIF of the template so that everyone knows what it looks like? I find this website to be useful to upload gifs generate external links: https://giphy.com/

In any case, we need to find some time to sit down and have all these three templates merged (pie, treemap, circle packing, anything else?)

@tracyhenry
Copy link
Copy Markdown
Owner

feature request: add option to opt out breadcrumb

Copy link
Copy Markdown
Owner

@tracyhenry tracyhenry left a comment

Choose a reason for hiding this comment

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

Thanks for the PR Xinli. See my inline comments.
Sorry that there are a lot, but majority of them are minor/my questions.

Comment thread front-end/js/globalVar.js
Comment thread front-end/js/globalVar.js Outdated
Comment thread front-end/js/globalVar.js Outdated
Comment thread front-end/js/embed/README.md Outdated
Comment thread front-end/js/dynamicLayers.js Outdated
Comment thread compiler/src/template-api/CirclePacking.js
Comment thread compiler/src/template-api/CirclePacking.js Outdated
Comment thread back-end/src/main/java/server/CanvasRequestHandler.java Outdated
Comment thread back-end/src/main/java/server/ProjectRequestHandler.java
Comment thread back-end/src/main/java/third_party/Exclude.java Outdated
@tracyhenry
Copy link
Copy Markdown
Owner

Can you also check that your Java line endings are correct. It seems like some of them are using CRLF

Copy link
Copy Markdown
Owner

@tracyhenry tracyhenry left a comment

Choose a reason for hiding this comment

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

two additional comments

@@ -0,0 +1,79 @@
package project;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

TODO: test if this can be moved to an indexer file.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Nashorn failed even though PackNode is in the same file. Seems that Nashorn only supports public classes

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I think one way is not passing ArrayList<PackNode> into nashorn...

Serialize packnodes to string before hand, then deserialize in packSib...

Comment thread back-end/src/main/java/index/PsqlCirclePackingIndexer.java Outdated
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.

svg.getBBox() ignores transforms when static layer semantic zoom

2 participants