本文整理了Java中org.vertexium.Graph.markVertexVisible()
方法的一些代码示例,展示了Graph.markVertexVisible()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graph.markVertexVisible()
方法的具体详情如下:
包路径:org.vertexium.Graph
类名称:Graph
方法名:markVertexVisible
[英]Marks a vertex as visible for a given visibility, effectively undoing markVertexHidden.
[中]将顶点标记为在给定可见性下可见,从而有效地撤消标记顶点。
代码示例来源:origin: org.visallo/visallo-core
LOGGER.debug("un-hiding vertex: %s (workspaceId: %s)", vertex.getId(), workspaceId);
graph.markVertexVisible(vertex, new Visibility(workspaceId), authorizations);
代码示例来源:origin: visallo/vertexium
assertTrue("v1 should be hidden", v1Hidden.isHidden(AUTHORIZATIONS_A));
graph.markVertexVisible(v1, VISIBILITY_A, AUTHORIZATIONS_A);
graph.flush();
Assert.assertEquals(1, count(graph.getEdges(AUTHORIZATIONS_A)));
graph.markVertexVisible(v1, VISIBILITY_A_AND_B, AUTHORIZATIONS_A);
graph.flush();
代码示例来源:origin: org.vertexium/vertexium-test
assertTrue("v1 should be hidden", v1Hidden.isHidden(AUTHORIZATIONS_A));
graph.markVertexVisible(v1, VISIBILITY_A, AUTHORIZATIONS_A);
graph.flush();
Assert.assertEquals(1, count(graph.getEdges(AUTHORIZATIONS_A)));
graph.markVertexVisible(v1, VISIBILITY_A_AND_B, AUTHORIZATIONS_A);
graph.flush();
代码示例来源:origin: org.vertexium/vertexium-test
assertVertexIdsAnyOrder(vertices, v2.getId());
graph.markVertexVisible(v1, VISIBILITY_B, AUTHORIZATIONS_ALL);
graph.flush();
代码示例来源:origin: visallo/vertexium
assertVertexIdsAnyOrder(vertices, v2.getId());
graph.markVertexVisible(v1, VISIBILITY_B, AUTHORIZATIONS_ALL);
graph.flush();
代码示例来源:origin: org.vertexium/vertexium-test
graph.markVertexVisible(v1, VISIBILITY_A, AUTHORIZATIONS_ALL);
graph.flush();
代码示例来源:origin: visallo/vertexium
graph.markVertexVisible(v1, VISIBILITY_A, AUTHORIZATIONS_ALL);
graph.flush();
内容来源于网络,如有侵权,请联系作者删除!