寻找适用于iOS的图形布局框架 [英] Looking for a graph layout framework for iOS

查看:127
本文介绍了寻找适用于iOS的图形布局框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于一个iOS应用程序,我需要根据其类型显示组合在一起的元素组,以及在完美布局中相互分开的不同组类型。



我想过使用一个无向图,分组节点都是以一种循环引用相互指向,然后每个组作为另一个元图它们的节点也在循环引用中指向对方,希望能够与良好的图形布局框架一起很好地显示出来。



不幸的是,唯一的框架I不断听到是 graphviz ,但这似乎没有适用于iOS的可用端口。



所以我的问题是:


  1. 关于如何实现我需要?

  2. 适用于iOS的良好图形布局实现

  3. 适用于iOS的graphviz可用端口?

更新:请注意,我不是寻找图绘图框架,这是用于绘制图表和图表(如饼图等)的框架。我正在寻找一个 layout 框架,它可以确定抽象图中任意节点的最佳位置。 根据graphviz开发邮件上的文章 list
pixelglow的Glen Low已经设法移植graphviz并在 Instaviz 中使用它。



他还有一些提示


For an iOS application I'm making I need to show groups of elements grouped together according to their type, and different groups of types separated from each other in a nicely done layout.

I thought of using an undirected graph, with the grouped nodes all pointing to each other in a sort of circular reference, and then each group as another "meta-graph" with their nodes point at each other in a circular reference as well, hoping that together with a good graph layout framework this could be displayed nicely.

Unfortunately, the only framework I keep hearing of is graphviz, but that doesn't seem to have an available port for iOS.

So my question is either:

  1. Other ideas for how to implement what I need?
  2. A good implementation of graph layout for the iOS?
  3. An available port of graphviz for the iOS?

Update: Please note, I am not looking for graph plotting frameworks, which are the frameworks used to draw graphs and charts (such as pie charts etc). I am looking for a layout framework which determines the optimal location for arbitrary nodes in an abstract graph.

解决方案

According to a post on the graphviz development mailing list, Glen Low of pixelglow has already managed to port graphviz and uses it in Instaviz.

He also has some hints on the configure script.

这篇关于寻找适用于iOS的图形布局框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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