javascript - Retrieve label HTML from node -


i have node of spacetree graph (from jit library) , i'd modify html of label in click listener. trivial if had reference label object passed parameter onplacelabel() , oncreatelabel() functions, cannot find way reference. there easy way of obtaining reference node object?

i figured out. can the label of node using

st.labels.getlabel(node.id) 

assuming st spacetree object , node node label.


Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -