Comments (2)
It seems there is a bit more nuance to this.
The CHILDCOUNT() and TREEDEPTH() functions work when used a in regular Predicate (e.g. to color nodes, see below), but nรณt to add an extra data column, e.g. like this:
tree.addColumn("label_child_count", "CONCAT(name,' (',CHILDCOUNT(),')')");.
Working example: https://i.imgur.com/8savFgU.png
from prefuse.
That's indeed quite nuanced.
The tree functions work with addColumn
on a VisualTree
:
VisualTupleSet vt = m_vis.add(tree, t);
vt.addColumn("label_child_count", "CONCAT([name],' (',TREEDEPTH(),')')");
Alternatively, it would be necessary to change some code in prefuse's Graph
class (cp. commit 889ad9e).
from prefuse.
Related Issues (20)
- Should the Display#InputEventCapturer honor Event.isConsumed()?
- Various memory leaks HOT 3
- TreeView can't display nodes with "<" character HOT 4
- Cleaning up warnings
- Version in Maven central is very old
- TreeView throws IllegalArgumentException when presenting an empty graph
- m_predicate in Display.java causes a memory leak when overriding Display
- User Manual? HOT 1
- ForceDirectedLayout - edge length HOT 1
- Side effects in the setBounds() method of the EdgeRenderer.java class
- query.trim() doesn't modify the String Object in KeywordSearchTupleSet.java
- Mavenize the project HOT 2
- TreeView misses some edges when FisheyeTreeFilter depthLevel = 0 HOT 1
- https://prefuse.org/ no longer describes this software HOT 1
- prefuse.org seems to be sold HOT 5
- Include original project history in Git repo? HOT 1
- GML reader HOT 6
- Mistyping in TypeLib.getNumericType HOT 1
- Infinite recursive call in FunctionExpression 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 prefuse.