java - Android: Searching simple library for drawing undirected graphs -


i searching simple library draw undirected graphs. show simple network map in android app, containing nodes , links between them.

to make more clear, i'm thinking of simple that:

graph graph = new graph(); node = new node("name of node a"); // name should displayed node b = new node("name of node b"); link ab = new link(a,b, "name of link"); // name should displayed graph.add(a); graph.add(b); graph.add(ab); ab.setcolor(color.red); bitmap result = graph.getbitmap(500, 500); // 500,500 = size in px 

there graph libraries java available, haven't found 1 works android. (they're using java ui stuff not available in android.)

does know such library works android?enter image description here


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -