我在这里编辑 digrameditor !对于我自己的项目,我需要将顶点的标签定位到底部。我尝试通过添加跟随更改,但似乎并非如此。
....
// 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;
....
有什么帮助吗?
谢谢。