We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
点类型:cust、有属性:cust_type(客户类型)、is_risk(是否高风险)
示例:
-- 常规客户 { "id": "SimpleNode", "props": { "size": 26, "color": "#ddd", -- 常规颜色 "label": [ "name" ] }, "expressions": [ { "name": "CUST", "operator": "eql", "value": "_node_type" }, { "name": "CUSTOMER", "operator": "eql", "value": "cust_type" }, ], "logic": true, }, -- 风险客户 { "id": "SimpleNode", "props": { "size": 26, "color": "red", -- 红色 "label": [ "name" ] }, "expressions": [ { "name": "CUST", "operator": "eql", "value": "_node_type" }, { "name": "CUSTOMER", "operator": "eql", "value": "cust_type" }, { "name": "1", "operator": "eql", "value": "is_risk" }, ], "logic": true, }, -- 常规商户 { "id": "SimpleNode", "props": { "size": 26, "color": "#ddd", -- 常规颜色 "label": [ "name" ] }, "expressions": [ { "name": "CUST", "operator": "eql", "value": "_node_type" }, { "name": "MCT", "operator": "eql", "value": "cust_type" }, ], "logic": true, }, -- 风险商户 { "id": "SimpleNode", "props": { "size": 26, "color": "red", -- 红色 "label": [ "name" ] }, "expressions": [ { "name": "CUST", "operator": "eql", "value": "_node_type" }, { "name": "MCT", "operator": "eql", "value": "cust_type" }, { "name": "1", "operator": "eql", "value": "is_risk" }, ], "logic": true, },
问题1: 以上,如果是风险客户,那么展示红色。现有的配置方式,配置太冗余了,且可读性不高。是否可以针对点的颜色单独设置样式? 比如:
-- 风险色设置 { "id": "SimpleNode", "color": "red", -- 红色 "expressions": [ { "name": "1", "operator": "eql", "value": "is_risk" }, ], "logic": true, },
同理icon的设置等其他内容的设置是不是也可以加一个默认的全局设置?
问题2: 点边label 设置,无法支持,多个字段。 比如,客户点有name\nick_name2个字段,展示label的时候,期望用类型COALESCE(name,nick_name)这样的方式进行展示。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
业务场景:
点类型:cust、有属性:cust_type(客户类型)、is_risk(是否高风险)
现有的设置样式:
示例:
问题1:
以上,如果是风险客户,那么展示红色。现有的配置方式,配置太冗余了,且可读性不高。是否可以针对点的颜色单独设置样式?
比如:
同理icon的设置等其他内容的设置是不是也可以加一个默认的全局设置?
问题2:
点边label 设置,无法支持,多个字段。
比如,客户点有name\nick_name2个字段,展示label的时候,期望用类型COALESCE(name,nick_name)这样的方式进行展示。
The text was updated successfully, but these errors were encountered: