Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Custom Node Questions

0 votes

I would like to creat e a custom node that can contain "Cell ID Numbers" that would reside above the string that I import in as an attribute table.

Below is an example circular tree graph with some annotation:

I understand some of the basic idea of using "Manage Custom Properties" but am not understanding how "to get started."  I was hoping I could start with the "Node Label" example graph and edit it but I am not seeing anything "happen" when I select one of the nodes and look to see it in Pallete Manager for instance; should it "be" in there somewhere?

 

Is there a step by step tutorial for custom node creations?  Sorry to be so dense but I want to see the trees and I am lost in the forest.

 

Thanks much.

asked Jan 15, 2015 in Help by edv56 (160 points)

1 Answer

+1 vote

Maybe this already answers your question: http://yed.yworks.com/support/qa/5079

answered Jan 16, 2015 by thomas [yWorks] (23,660 points)
Not understanding this-
3. Create one node and adjust its visual properties to your liking. - Create a Node using Properties Manager?  
4. For each column in your Excel sheet that you want to display, add one (dummy) label to your node. (Labels can be added by right-clicking the node and choosing "Add Label" from the node's context menu.) Place each label in the desired way. - When I add a label it just ends up stacked on top of the preceding one.  

I will review the Manage Custom Properties section of the manual.

Appreciate any thoughts you have also.

Thanks much.

In case you are interested I am using yEd to graph the 240 solutions of the SOMA puzzle
http://www.mathisfunforum.com/viewtopic.php?id=21536
Re 3
In the new document, create that one node by a simple mouse click. This node will later (step 5) be added to the palette (in a new section that holds your own nodes/edges). Once it is in the palette, it can serve as a template for new nodes that you are about to create via the Excel import**.

**From your original question, I understood this: "[...] string that I import in as an attribute table." to mean that you are using the Excel import. I hope this is correct?

Re 4
New labels that you create will use the currently active default placement, that's why they will end up stacked on top of each other. BUT, after you have created a new label, you can move it with the mouse to another location. (Just add and move them in turn.)
Tip: To be able to better select the newly added label, give it a longer text than the label that's already there.
As an alternative to moving the label with the mouse, you can also select the label and in the "Properties View" change the "Placement" (under the "General" section).
Thanks!
Imprint | Privacy Policy