0
我正在編輯here的digrameditor!對於我自己的項目,我需要將頂點的標籤放置在底部。我試圖通過添加後續更改,但似乎並非如此。mxGraph diagrameditor更換標籤位置
....
// Program starts here. The document.onLoad executes the
// mxApplication constructor with a given configuration.
// In the config file, the mxEditor.onInit method is
// overridden to invoke this global function as the
// last step in the editor constructor.
function onInit(editor)
{
// Set align of the labels to bottom
mxConstants.STYLE_VERTICAL_LABEL_POSITION = mxConstants.ALIGN_BOTTOM;
....
任何幫助?
謝謝。