Qiang Li
Reputation
406
Next privilege 500 Rep.
Access review queues
 Jun13 accepted Finding the largest integer that cannot be partitioned in a certain way May28 asked Finding the largest integer that cannot be partitioned in a certain way Feb5 awarded Yearling May8 comment How to draw a directed graph with arrows showing vertically from bottom to top when I havve a larger data set, the graph is messy, for example, edges = {18 -> 40, 18 -> 25, 19 -> 0, 20 -> 0, 21 -> 2, 21 -> 2, 21 -> 8, 22 -> 1, 22 -> 36, 23 -> 3, 23 -> 31, 23 -> 21, 23 -> 22, 24 -> 3, 24 -> 34, 24 -> 27, 24 -> 40, 25 -> 0, 26 -> 1, 26 -> 8, 27 -> 0, 28 -> 3, 28 -> 35, 28 -> 41, 28 -> 4, 29 -> 4, 29 -> 26, 29 -> 40, 29 -> 41, 29 -> 25, 30 -> 1, 30 -> 35, 31 -> 0, 32 -> 0, 33 -> 1, 33 -> 32, 34 -> 1, 34 -> 42, 35 -> 1, 35 -> 37, 36 -> 0, 37 -> 0, 38 -> 1, 38 -> 40, 39 -> 3, 39 -> 41, 39 -> 31, 39 -> 12, 40 -> 0, 41 -> 0, 42 -> 1, 42 -> 17}. How to make it nicer here? May7 asked How to draw a directed graph with arrows showing vertically from bottom to top Apr19 accepted How to convert binary float to decimal float Apr19 asked How to convert binary float to decimal float Feb21 comment How to add vertex/edge labels to existing graph actually in version 8.0.0.0, it is not working SetProperty[g, {EdgeLabels -> {3 \[UndirectedEdge] 4 -> "COOL"}, VertexLabels -> {1 -> "STUFF"}}]. Looks like SetProperty can only set one property at a time. Feb21 comment VertexLabelStyle not found in Mathematica 8.0.0.0 @kguler: it says Graph::optx: Unknown option VertexLabelStyle in Feb21 asked VertexLabelStyle not found in Mathematica 8.0.0.0 Feb21 asked How to add vertex/edge labels to existing graph Feb20 accepted Get the neighboring vertices and incident edges from a vertex in a graph Feb18 awarded Commentator Feb18 comment How to write a function to add edges or vertex to a graph I guess I wanted to know what if I mixed the newvertices_List and newedges_List in a single list? Feb17 comment How to write a function to add edges or vertex to a graph Can I add a mixture list of vertices and edges to an existing graph? How to write such a function addToGraph[g, {4, 1 \[UndirectedEdge] 2}] which will add another vertex 4 and an edge between 1 and 2? Thank you. Feb17 awarded Supporter Feb17 comment Get the neighboring vertices and incident edges from a vertex in a graph True. :) +1 Thank you. Feb17 comment Get the neighboring vertices and incident edges from a vertex in a graph yes, NeighborhoodVertices[g, 4, 1] can also get the same list with shorter typing. :) Feb17 awarded Scholar Feb17 accepted Show path with arrows in a matrix