Comments (7)
You could open the script editor and script output (e.g. Alt+S and A+Shift+S) and start with this (copied mostly from demos/scripts/iterating-branches.vys):
vym.clearConsole();
m1 = vym.currentMap();
m1.initIterator("foobar");
print ("Starting with branch: " + m1.getHeadingPlainText() );
while (m1.nextIterator("foobar") )
{
print ("Selected branch: " + m1.getHeadingPlainText() );
if (m1.isScrolled()) {
print (" is scrolled");
}
}
At the moment there is no command available returning the current depth(), I try to add that to the next beta-5, could be useful in that context
from vym.
For reference: The current code for collapsing in TreeEditor is in
Line 261 in e33f8fb
from vym.
Cool, I am not the only power user :-)
Here's my approach to bigger maps (need to make a video one day to show this):
I have the TreeEditor open (usually left of the map). Select "Parent" and then press the "<" key - every subtree folds in the TreeEditor at least, which I mainly use for navigation. Similar if you would select "son" first: All siblings of parents would fold and also everything down to the son/daughter level.
Is that something you would need in the MapEditor, too?
Maybe could be scripted, or implemented in the code itself...
from vym.
Yeah, the way it works in TreeEditor is exactly how I imagine it for MapEditor too.
Maybe could be scripted, or implemented in the code itself...
Is that sth I do on my end? If so, please tell me more.
from vym.
This feature is already provided, it is called scroll.
from vym.
This feature is already provided, it is called scroll.
Not exactly: As I understood it the new feature would be to scroll everything which is not the already selected branch. This is implemented in TreeEditor with the "<"-key, but not yet in MapEditor.
from vym.
This feature is already provided, it is called scroll.
Not exactly: As I understood it the new feature would be to scroll everything which is not the already selected branch. This is implemented in TreeEditor with the "<"-key, but not yet in MapEditor.
Thank you for explaining your understanding of the issue. In any case, hitting the "s" key in the map editor is a great feature.
from vym.
Related Issues (20)
- Allow removing of attributes
- Remember working directory HOT 6
- Improve automatic positioning of branches HOT 4
- Other or user configurable keyboard assist when creating XLinks HOT 3
- Tree editor has black text on black background HOT 4
- Navigate branches in floating layout with keyboard HOT 2
- Package for Ubuntu 24.04 LTS HOT 1
- Branches outside of visible scene HOT 1
- Unify access to properties dialogs
- Change XLink branch IDs from selectionID to UUID
- Color of branch with note is lost after load in 2.9.534
- Allow to run external tools as script command, e.g. an XSLT tool after XML export
- how can i use it on sonoma with brew? HOT 8
- Update MapEditor while loading bigger maps
- Missing lines in MapDesign::init HOT 1
- Add support for OWL files HOT 4
- vym 2.9.5xx crashes in QJSEngine while scripts are executed HOT 4
- Positioning of images in fixed branch layouts, e.g. GridLayout
- User Flags images are lost in XML export
- Allow free positioning of blocks
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 vym.