guru.nidi.graphviz.engine.Graphviz.height()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(4.4k)|赞(0)|评价(0)|浏览(175)

本文整理了Java中guru.nidi.graphviz.engine.Graphviz.height()方法的一些代码示例,展示了Graphviz.height()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graphviz.height()方法的具体详情如下:
包路径:guru.nidi.graphviz.engine.Graphviz
类名称:Graphviz
方法名:height

Graphviz.height介绍

暂无

代码示例

代码示例来源:origin: apache/oozie

private Graphviz newGraphviz() {
    // Defaults to Rasterizer#BATIK
    return Graphviz.fromGraph(graphvizGraph)
        .engine(Engine.DOT)
        .height(calculateHeight(arcCount));
  }
}

代码示例来源:origin: org.apache.oozie/oozie-core

private Graphviz newGraphviz() {
    // Defaults to Rasterizer#BATIK
    return Graphviz.fromGraph(graphvizGraph)
        .engine(Engine.DOT)
        .height(calculateHeight(arcCount));
  }
}

代码示例来源:origin: com.simiacryptus/mindseye

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(network))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye-test

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(network))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye-labs

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(network))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye-test

log.eval(() -> {
  return Graphviz.fromGraph(TestUtil.toGraph((DAGNetwork) smallLayer))
    .height(400).width(600).render(Format.PNG).toImage();
 });
} catch (Throwable e) {
  @Nonnull DAGNetwork network = (DAGNetwork) explode;
  log.eval(() -> {
   @Nonnull Graphviz graphviz = Graphviz.fromGraph(TestUtil.toGraph(network)).height(400).width(600);
   @Nonnull File file = new File(log.getResourceDir(), log.getName() + "_network.svg");
   graphviz.render(Format.SVG_STANDALONE).toFile(file);

代码示例来源:origin: com.simiacryptus/mindseye-labs

log.eval(() -> {
  return Graphviz.fromGraph(TestUtil.toGraph((DAGNetwork) smallLayer))
    .height(400).width(600).render(Format.PNG).toImage();
 });
} catch (Throwable e) {
  @Nonnull DAGNetwork network = (DAGNetwork) explode;
  log.eval(() -> {
   @Nonnull Graphviz graphviz = Graphviz.fromGraph(TestUtil.toGraph(network)).height(400).width(600);
   @Nonnull File file = new File(log.getResourceDir(), log.getName() + "_network.svg");
   graphviz.render(Format.SVG_STANDALONE).toFile(file);

代码示例来源:origin: com.simiacryptus/mindseye

log.eval(() -> {
  return Graphviz.fromGraph(TestUtil.toGraph((DAGNetwork) smallLayer))
    .height(400).width(600).render(Format.PNG).toImage();
 });
} catch (Throwable e) {
  @Nonnull DAGNetwork network = (DAGNetwork) explode;
  log.eval(() -> {
   @Nonnull Graphviz graphviz = Graphviz.fromGraph(TestUtil.toGraph(network)).height(400).width(600);
   @Nonnull File file = new File(log.getResourceDir(), log.getName() + "_network.svg");
   graphviz.render(Format.SVG_STANDALONE).toFile(file);

代码示例来源:origin: com.simiacryptus/mindseye-test

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(imageNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(imageNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye-labs

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(imageNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye-test

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(fwdNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});
log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(revNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});
log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(supervisedNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye-labs

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(fwdNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});
log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(revNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});
log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(supervisedNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});

代码示例来源:origin: com.simiacryptus/mindseye

log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(fwdNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});
log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(revNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});
log.eval(() -> {
 return Graphviz.fromGraph(TestUtil.toGraph(supervisedNetwork))
   .height(400).width(600).render(Format.PNG).toImage();
});

相关文章