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

URI interface for pre-highlighting parts of the graph. #25

Closed
kohlhase opened this issue Sep 27, 2017 · 4 comments
Closed

URI interface for pre-highlighting parts of the graph. #25

kohlhase opened this issue Sep 27, 2017 · 4 comments
Assignees

Comments

@kohlhase
Copy link
Member

We should extend the URI interface, so that we can pre-highlight parts of the graph, e.g. theories by name. I am imagining something like

https://mmt.mathhub.info/graphs/tgview.html?type=archivegraph&graphdata=smglom/arithmetics&highlight=realpns,realplns.de,realpns.en

where the names behind the highlight parameter will be highlighted (i.e. made red or so). This is the highlighting I thought of in #24.

@Shadow992
Copy link
Collaborator

Shadow992 commented Oct 21, 2017

Maybe we should not explicitly model this in the URI, but combine it with our idea of saving a "shareable snapshot" of the current graph. However this will in first place be shared by URI, too.

Edit:
We could start with this as I realised we also need this generated by server.

@Shadow992
Copy link
Collaborator

Implemented with 370ea36

Example usage:

http://neuralocean.de/graph/theorygraph.php?uri=http://neuralocean.de/graph/test/pvs.json&highlight=identity*,extend

"*" can be used anywhere as wildcard
"," separates different node names to highlight

@kohlhase
Copy link
Member Author

kohlhase commented Mar 8, 2018

very nice. Do not forget to document.

@freifrauvonbleifrei
Copy link

Neat! :)

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

No branches or pull requests

3 participants