Comments (1)
Url encoding of the state
project
: project namebranch
: branch namecommit
: commit hash, used if branch is not givennode
: object to load in the visualizervisualizer
: visualizer name to openaspect
: aspect name in the visualizer if applicableselection
: comma separated list of selected object (node) ids
Notes
Url may exceeds the maximum length limit. In the future we should be able to generate short urls and save it on server side. Server will server the state information then.
Caveats
the back/forward button (history) never followed user navigation and events in visualizers, except in the ModelEditor (a.k.a. composition view)
Only the model editor works for the visualizer
and aspect
settings
Example urls
/?project=test1&branch=master&node=&visualizer=ModelEditor&aspect=All
/?project=test1&commit=<commit_hash>&visualizer=ModelEditor&aspect=All
/?project=test1&branch=master&node=&visualizer=ModelEditor&aspect=Aspect2
/?project=test1&branch=master&node=&visualizer=METAAspect
/?project=test1&visualizer=ModelEditor&aspect=All&selection=%2F1801445538,%2F325565474
Testing
- no project is given
- given project does not exist
- no branch name is given
- branch does not exist
- node does not exist
- commit does not exist
- visualizer does not exist
- aspect does not exist
- selection contains nodes that do not exist
from webgme.
Related Issues (20)
- The usage of the API:src/server/api/index.js HOT 8
- core.add_member causing exception HOT 17
- Question: How to run multiple interpreters on the server?
- Connection to webgme.org is refused HOT 1
- cannot open https://webgme.org/
- Edit models from the GraphViz visualizer
- GraphViz does not display when zoomed
- Cannot export project or model HOT 1
- Cannot modify exisitng decorators HOT 1
- Would you please create a new docker image version? HOT 1
- ReadStream was closed while writing file! HOT 1
- Nginx proxy path prefix HOT 2
- Error TS2304: Cannot find name 'GLbyte' in webgme.d.ts HOT 2
- Overlapping Lines In Diagram
- Updating library fails inconsistently
- Layout Graph View based on node positions
- Branch merge - Missing connectors
- webgme 2.45.0 python plugin does not run HOT 1
- what is the correct way to model a "type union"? HOT 3
- Plugin Config Dialog does not display the description HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webgme.