将文件上传到Graphileon InterActor作为节点背景 [英] Upload files to Graphileon InterActor as node background

查看:114
本文介绍了将文件上传到Graphileon InterActor作为节点背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows上使用Docker安装了Graphileon InterActor。

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

启动InterActor时,请遵循以下命令:

When starting InterActor I follow this command:


您可以使用以下命令运行InterActor映像,该命令还将创建一个 interactor卷,其中将存储持久数据(配置和您上载到InterActor的文件)。

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.

然后输入:

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

M ountpoint:

Mountpoint:

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

我找不到用于存储图像以在InterActor中使用的文件夹。如果执行了-如何调用文件的路径?

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?

推荐答案

右键单击节点,编辑,添加文件给它起个名字然后为此节点类型打开样式配置,并在下面的行中插入图像名称而不是文件:

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

这篇关于将文件上传到Graphileon InterActor作为节点背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆