Upload files to Graphileon InterActor as node background

怎甘沉沦 提交于 2019-12-23 03:37:08

问题


I installed Graphileon InterActor using Docker on Windows.

The Styling Documentation says that files can be uploaded using the following command in style menu:

"image": "(%).properties.file",                   // image as node background

When starting InterActor I follow this command:

You can run the InterActor image using the following command, which will also create a volume "interactor" where persistent data (the config, and files you upload to InterActor) will be stored.

And type in:

$ docker run -t -d -p 8000:80 --name interactor -v interactor:/persistent/ graphileon/interactor-community
778a9a7f373fc040e1adb3af446d7f2bfab9d82d15d82e5871c9658b54036a78

Mountpoint:

"/mnt/sda1/var/lib/docker/volumes/interactor/_data"

I can't find the folder to store images to use them in InterActor. And if I did - how to call the path of the file?


回答1:


Right-click on a node, EDIT, add file and give it a name. Then open Styles configuration for this node type and in the following line insert the name of the image instead of "file":

"image": "(%).properties.file",                   // image as node background


来源:https://stackoverflow.com/questions/46021766/upload-files-to-graphileon-interactor-as-node-background

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!