#please tell me any library for graph, or maybe clang inbuilt one

54 messages · Page 1 of 1 (latest)

frosty basalt
#

can someone please tell me any C++ library for graphs, or maybe if there's any Clang library then please do tell?
also If you know what library (or other word) generally most people use for graphs then do tell me.

sick pulsarBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

urban current
#

Depends on what the needs you have are

jade sage
#

Boost::graph maybe

lusty steeple
#

Often people use graph databases for graph data

#

one benefit of which is it can be used by any language

urban current
#

Yeah, just really depends on requirements here

frosty basalt
frosty basalt
lusty steeple
frosty basalt
#

in clang

lusty steeple
#

clang is a compiler, not a series of libraries

#

there is no graph container/datatype in the C++ standard, no

frosty basalt
#

sry 😭 . i mean the c++, or whatever i installed

lusty steeple
#

I mean whether you want a library or a database will depend on your requirements, which you haven't really shared

#

but yea boost's graph library would probably be the "baseline" example of a library, though it has a high learning curve

frosty basalt
frosty basalt
#

if it

#

it it's easier then boost's graph and matplot

#

btw atm i need to make a visual picture

#

showing heat. with colours

lusty steeple
#

when you say graph

#

do you mean a chart

#

this is considered a graph

frosty basalt
lusty steeple
#

generally, without context

#

yea you are looking to plot charts

#

not a graph

frosty basalt
#

okay i should really first find a sample so i can show you. and not this graph btw. i mean x vs y types

lusty steeple
#

I would strongly recommend something like python matplotlib

lusty steeple
frosty basalt
#

like this type

#

not exactly

#

just the vertical rectangle color showing. of heat vs (smth)

lusty steeple
#

okay, why are you using C++ for this?

#

this is very much a "use a better language for this kind of thing" like python's matplotlib

frosty basalt
lusty steeple
#

there's a good reason for that

frosty basalt
#

yaa probably

lusty steeple
#

gnuplot-cpp / gnuplot-iostream seems fine if you already know how to use gnuplot

sick pulsarBOT
#

@frosty basalt Has your question been resolved? If so, type !solved :)

frosty basalt
#

feels like it's not a bot. anyway i will type solved in some more mins. it's only been 30 mins

jade sage
#

cant you do this in matplotlib?

untold edge
#

FYI matplotlib is available for C++ as well if that's your jam

frosty basalt
#

thank you everyone for answering

sick pulsarBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

frosty basalt
#

I will save the things